DEV Community

Discussion on: Show and Hide Content Easily With details and summary HTML Tags

Collapse
 
urielbitton profile image
Uriel Bitton

Very nice. I'm curious to know how do you make the action clickable without any JS

Collapse
 
vtrpldn profile image
Vitor Paladini

That's just how <details> + <summary> works. It is quite like how you can make a range slider with <input type="range"> 🙂

Collapse
 
urielbitton profile image
Uriel Bitton

ahh ok nice! thanks man!