Mortgage Calculator component

Solution retrospective
Well, I like how I know what and how to do everything except the calculation, this is my first calculator of any kind, so I was sure that there must be some king of in-built function to different calculations. but here we have to convert actual formula into JavaScript, to make it work.
Also, that whole (pound, % and years) then input and then showing errors with a message with everything going red, conditional rendering, it was first time I was able to do it myself without any help, i know it's not a big deal, but that feeling when you do it own you own bit by bit and then it finally works without any problem, when it's done, it was 2am in morning, i was like woah!! that late...
What challenges did you encounter, and how did you overcome them?That whole converting formula into js, and getting a comma after 3 digits didn't gone so well for me, is there any other ways to do that,
you can see whole lot of that function, just to get commas after 3 digits in one input is hilarious.
What specific areas of your project would you like help with?Any other way do thing instead of converting actual formulas into js.
Add commas after every 3 digits in inputs.
any kind of suggestion is appreciated.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Utkarsh9571'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