Mortgage Calculator build on React

Solution retrospective
I'm proud of the small animation I created for when the user presses the 'Calculate Repayments' button. It's super clean and adds interactivity to the website.
What challenges did you encounter, and how did you overcome them?It was quite challenging to make the red error text pop up when the user submits the form without filling in some input fields. I needed to ensure the text would appear from the bottom of the field that wasn’t filled in. To solve this i created a list of input fields and if a value is empty it will display the red text underneath.
What specific areas of your project would you like help with?This is my first React.js project, and I’m wondering if I’ve used components for input fields and useState correctly. I’m also looking to identify any places in the code where I might have hardcoded solutions and could simplify the implementation with less complexity.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Strafe's solution.
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