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

Responsive mortgage repayment calculator

Ralph•190
@RalphPastel972
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?

I feel I leveled up with this one! I had to tackle many unplanned challenges. It works well.

  • I solidified my DOM manipulation proficency
  • I practiced JS a lot more than I expected (👍🏾)
  • I used regex validation for the first time
  • It was surprisingly harder than my calculator project
What challenges did you encounter, and how did you overcome them?
  • My estimating skills are bad: Originally, I estimated I could do it in just 8 hours. Let's just say it took me way longer.
  • As I didn't have a clear vision beforehand, my code started to be spagettified. I still need to refactor it! I know!
  • I wasted a lot of time trying to implement a way to prevent the user to type forbidden character when at the end, a simple regex validation is good enough IMHO.
What specific areas of your project would you like help with?
  • Any advice on the best way to refactor my JS code
  • How to organise my CSS file better?
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 Ralph'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 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License