Skip to content

Replace alert in web api, scrollwidth property - #34733

Merged
Josh-Cena merged 6 commits into
mdn:mainfrom
evelinabe:7566-replace-alert-scrollwidth
Jul 12, 2024
Merged

Replace alert in web api, scrollwidth property#34733
Josh-Cena merged 6 commits into
mdn:mainfrom
evelinabe:7566-replace-alert-scrollwidth

Conversation

@evelinabe

Copy link
Copy Markdown
Contributor

Description

✍️ I have updated the example for the scrollWidth property. My intention was to only remove the alert function, but since the example code didn't follow the styling guides I grouped the code to code blocks and added some additional texts about the example as well.

Motivation

❓ They get a working example for scrollWidth, and the code will be easier to read when it is grouped in code blocks.

Additional details

🔗 #7566

Related issues and pull requests

See additional details

@evelinabe
evelinabe requested review from a team and wbamberg and removed request for a team July 9, 2024 11:07
@github-actions github-actions Bot added Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed labels Jul 9, 2024
@github-actions

github-actions Bot commented Jul 9, 2024

Copy link
Copy Markdown
Contributor

Preview URLs

(comment last updated: 2024-07-12 15:40:48)

@Josh-Cena Josh-Cena mentioned this pull request Jul 9, 2024
27 tasks
Comment thread files/en-us/web/api/element/scrollwidth/index.md Outdated
Comment thread files/en-us/web/api/element/scrollwidth/index.md Outdated
Comment thread files/en-us/web/api/element/scrollwidth/index.md Outdated
@evelinabe
evelinabe requested a review from mdn-bot as a code owner July 12, 2024 04:50
@evelinabe
evelinabe requested review from a team, Elchi3, dipikabh, fred-wang and jpmedley and removed request for a team July 12, 2024 04:50
@github-actions github-actions Bot added the Content:CSS Cascading Style Sheets docs label Jul 12, 2024
@github-actions github-actions Bot added size/m [PR only] 51-500 LoC changed and removed Content:HTML Hypertext Markup Language docs Content:WebExt WebExtensions docs Content:JS JavaScript docs Content:Learn Learning area docs Content:HTTP HTTP docs Content:Accessibility Accessibility docs Content:SVG SVG docs Content:Media Media docs Content:MathML MathML docs Content:Glossary Glossary entries Content:Games Games docs Content:Learn:JavaScript Learning area JavaScript docs Content:Firefox Content in the Mozilla/Firefox subtree Content:Learn:CSS Learning area CSS docs Content:Manifest Manifest docs (retired, now use Content:PWA instead) system [PR only] Infrastructure and configuration for the project size/xl [PR only] >1000 LoC changed labels Jul 12, 2024
@Josh-Cena
Josh-Cena removed request for a team and mdn-bot July 12, 2024 06:42
Comment thread files/en-us/web/api/element/scrollwidth/index.md Outdated

@Josh-Cena Josh-Cena left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great! Thanks a bunch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants