Design comparison
Solution retrospective
Used this project to practice using React-hook-form and Zod to validate. I used React-hot-toast for the toaster.
What challenges did you encounter, and how did you overcome them?I struggled to figure out how to properly use the font which were given in the starter file so I asked AI for help.
What specific areas of your project would you like help with?I'd like to know how to add the SVGs to the radio and checkbox. I couldn't figure out how to replace the default input buttons. Is it also possible to do with Tailwind CSS?
Community feedback
- @kodan96Posted 6 months ago
hi there! ๐
if you want to use the SVG-s you need to create your own custom radio buttons and checkboxes, and replace the original ones with them. then you can toggle the original elements using JS event handlers. and you should make them keyboard accessible for accessibility reasons
Hope this was helpful ๐
Good luck and happy coding! ๐ช
0
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