Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.md - correct element property #28247

Merged
merged 1 commit into from
Jul 28, 2023
Merged

Conversation

theMosaad
Copy link
Contributor

Description

Use the correct HTMLElement instance property to set the opacity value: target.style.opacity instead of target.opacity

Motivation

Current example with target.opacity is misleading and doesn't work.

@theMosaad theMosaad requested a review from a team as a code owner July 28, 2023 14:44
@theMosaad theMosaad requested review from wbamberg and removed request for a team July 28, 2023 14:44
@github-actions github-actions bot added the Content:WebAPI Web API docs label Jul 28, 2023
@github-actions
Copy link
Contributor

Copy link
Collaborator

@wbamberg wbamberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thank you!

@wbamberg wbamberg merged commit 618aa21 into mdn:main Jul 28, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants