Online since 1990 Yes! I started with Gopher. I do modern Web Component Development with technologies supported by **all** WHATWG partners (Apple, Google, Microsoft & Mozilla)
Online since 1990 Yes! I started with Gopher. I do modern Web Component Development with technologies supported by **all** WHATWG partners (Apple, Google, Microsoft & Mozilla)
Good moment to learn classList.toggle and toggleAttribute
Huh, didn't actually know about
toggleAttribute
, good to know! That said, kinda unsure where to really use them here 🤔Everywhere you now use setAttribute to undo a state
Ok I finally see what I missed: there's an optional attribute to force it into one state or the other. I'll update everything!
Thanks for the feedback!