re: A JavaScript-Free Frontend VIEW POST

FULL DISCUSSION
 

Wow, <details>/<summary> is a lovely time-saver.

 
 

Hi, Erik! I recently wrote about details and summary, trying to account for some of their uses, polyfill guidance and expectations for accessibility:

dev.to/isfotis/html-details-is-awe...

 
 

I feel like I'm missing something – what is <details> doing for you here?

HTML's <select> and <option> elements can't be styled because of this people use lots of JS to make inputs that work the same. You can, however, style <details> and <input type="radio"> elements to have the same functionality but be fully customisable by the creator.

Got it! Also I just realized you linked to a whole post about it, not just a JSFiddle for me to puzzle out on my own. Hi, I'm new here.

Sorry, I should have been clearer 🙂
Welcome to the community Erik.

code of conduct - report abuse