
Design comparison
Solution retrospective
I'd like to know your comments to improve my skills.
I'd like to know how to change the color of a radio button when it is checked, I've tried but I didn't get it.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Maahnoor
Great job at the challenge
there are ways to design your own radio buttons but a shortcut you could take is this: input[type='radio'] { accent-color: hsl(176, 50%, 47%); } this approach is not supported in some browsers and also the browser adjusts a contrasting colour for legibility read here: https://usefulangle.com/post/389/css-radio-button-color or make your custom button: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_custom_radio
hope it helps
Marked as helpful
Join 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