DEV Community

loading...

Discussion on: DOM elements with ID's are global variables

Collapse
eljayadobe profile image
Eljay-Adobe

Whenever you see something like this in HTML / JS / CSS, I recommend you close your eyes immediately, then read a few passages from JavaScript: The Good Parts or Eloquent JavaScript and pretend the bad thing doesn't exist.