More content

Read more stories on Hashnode

Articles with this tag

When to use the id attribute

Joel SaupeJoel Saupe
Feb 15, 20238 min read

The id attribute is arguably one of the most popular attributes used in HTML, second only to the class attribute. It serves a lot of purposes, which...

When to use the id attribute
What state should be stored in the URL
How to sort arrays reliably in TypeScript