re: A JavaScript-Free Frontend VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 
 

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