Hacker News new | ask | show | jobs
by Crono 1284 days ago
The developer made a nice article on how he did it with almost none javascript. Interesting read: https://javascript.works-hub.com/learn/a-javascript-free-fro...
1 comments

Thanks for the link. I read it and I too desire for minimal/javascript-less world. However,

> The Checkbox/Label Trick

I'm hesitant to use this. It just doesn't feel right to use this hack.

Also somewhat related to the <details>/<summary>, I try using native html elements as much as possible. One time I used the <meter> element for a meter bar, but it was called out immediately by QA because the design doesn't match the one created by the UI/UX team. I really wish html elements were more customizable.