- Episode 45
Replacing JavaScript with HTML and CSS
In today’s episode, I talk about replacing JavaScript with HTML and CSS (and why it’s a good thing).
Links
- The
position: sticky
property: https://gomakethings.com/how-to-create-a-sticky-navigation-with-only-css/ - The
scroll-margin-top
property: https://gomakethings.com/how-to-prevent-anchor-links-from-scrolling-behind-a-sticky-header-with-one-line-of-css/ - The
scroll-behavior: smooth
property: https://gomakethings.com/how-to-animate-scrolling-to-anchor-links-with-one-line-of-css/ - Autocomplete inputs with the
datalist
element: https://gomakethings.com/how-to-create-an-autocomplete-input-with-only-html/ - Disclosure components with
details
andsummary
: https://gomakethings.com/javascript-free-accordions/