Teaching the Details Element with ... Details Elements!

This is smart as heck. What better way to teach folks about the <details> element than using the elements themselves to structure the post?

Hopefully, this neat angle will open up a really handy and more importantly, accessible, native HTML element to those (including me) who would previously use JavaScript.

https://codepen.io/jdsteinbach/full/GYmQjo/

Hi 👋
I’m Andy, a freelance web designer

I’m currently looking to book web design and front-end development projects from September 2019, onwards.

Hire me