Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Responsive Mortgage Calculator using React, Vite, Tailwind

react, tailwind-css, vite
Ramadhian Eka Putra•180
@RDifault
A solution to the Mortgage repayment calculator challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

With this project, i'm proud to finally be able to learn React and how it works. I discovered that React hooks are one of the powerful feature to change and manage a web state. I also learned how to create React app using Vite, which is also a powerful build tool for frontend

What challenges did you encounter, and how did you overcome them?

Since i'm still learning React, there are lots of things that took me a long time to figure out. For example, form validation using useState, and formatting the numbers. One of my most noticeable fault is by using useState. Since this is a simple form, i could have used useRef for a better performance, so that everytime the input is changed, the web is not constantly re-rendered.

What specific areas of your project would you like help with?

Currently i have solved all my problems, any advice or critics given would be really appreciated

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Ramadhian Eka Putra'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2026
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License