Design comparison
SolutionDesign
Community feedback
- @grace-snowPosted almost 2 years ago
The html is not right I’m afraid. This has to be a form with a fieldset of radio inputs.
And the listener should be on submit of the form of keeping everything on the same page like this
Js should not be messing with inline styles. Use js to toggle classes or attributes. Use css to handle styling
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord