Matheus Fantinel on Nostr: Is there a way to show/hide the HTML <dialog> element without JavaScript? 🤔 I'm ...
Is there a way to show/hide the HTML <dialog> element without JavaScript? 🤔
I'm thinking of adding dialogs to my website to add details of some side projects (click on card → open modal), but my website proudly works with no JS at all (using it only for added goodies), so I wouldn't want to lock content behind a JS toggle.
If not possible, I accept suggestions of how I could display that content - there's not enough content for a page per project; that's why I'm not considering that.
#webdev
I'm thinking of adding dialogs to my website to add details of some side projects (click on card → open modal), but my website proudly works with no JS at all (using it only for added goodies), so I wouldn't want to lock content behind a JS toggle.
If not possible, I accept suggestions of how I could display that content - there's not enough content for a page per project; that's why I'm not considering that.
#webdev