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
How to render a form with an external submit button
How to limit dependency on 3rd party tools and libraries