Tech Insights· dev.to
DOM elements with ID's are global variables
From dev.to
The browser defines a global variable for each ID in your HTML document.
Shared by
- Dom
- HTML
- JavaScript
Tech Insights· dev.to
From dev.to
The browser defines a global variable for each ID in your HTML document.
Shared by
Book a call
Tell us what you’re building. In one call, we’ll show you how our team would approach it.
Tell us what you’re building, and we’ll show you how we’d approach it.
Still prefer the good old email? Contact us



