Design comparison
Solution retrospective
This is my solution to the challenge. I had fun and learned a lot while working on it.
š ļø Built with
- HTML
- CSS
- JavaScript
Implementing the DOM was challenging, especially the radio button. I read about the concept on the internet and then applied it to complete the challenge.
What specific areas of your project would you like help with?Any help to improve is welcome š
Community feedback
- @krais38Posted 4 months ago
Your input fields accept letters. In this case the input type should be "number" as you are working with years, amount and percentages. If you don't want to restrict your input type for some reason, you can use javascript check for onkeydown and check if the pressed key is a number and if not then you'd show an error state.
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