DEV Community

loading...

Discussion on: Do you still use IDs for unique elements?

Collapse
jmau111 profile image
Julien Maury

yes, it's still a pretty good practice for selecting DOM elements with JavaScript.

It's also great in a "pure" CSS perspective.

Forem Open with the Forem app