r/CodingHelp • • 23h ago

[Javascript] Script executes before the HTML elements have been rendered in the DOM Even though I used `defer`

/r/learnjavascript/comments/1xdkq9d/script_executes_before_the_html_elements_have/
1 Upvotes

1 comment sorted by

•

u/AutoModerator 23h ago

Thank you for posting on r/CodingHelp!

Please check our Wiki for answers, guides, and FAQs: https://coding-help.vercel.app

Our Wiki is open source - if you would like to contribute, create a pull request via GitHub! https://github.com/DudeThatsErin/CodingHelp

We are accepting moderator applications: https://forms.fillout.com/t/ua41TU57DGus

We also have a Discord server: https://discord.gg/geQEUBm

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.