Re:NoJS – Creating a calculator with only HTML and CSS
by chrismorgan on Friday January 21, 2022 @12:28PM
(#30026784)
I’m disappointed with the reset button: it uses a dangling label inside a link, which reloads the page:
Rather than just using the formerly-ubiquitous but now rare beast (I think I saw exactly one last year), a reset button:
To keep the CSS simple (!), you could even keep using the label (though ditch the <a> wrapping) and just chuck an invisible <input type=reset id=reset> in with the radio buttons, if you really want. Then the label would dangle no more.
[ Parent
| on HN ]