This is a solution to the Mortgage repayment calculator challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Note: Delete this note and update the table of contents based on what sections you keep.
Users should be able to:
- Input mortgage information and see monthly repayment and total repayment amounts after submitting the form
- See form validation messages if any field is incomplete
- Complete the form only using their keyboard
- View the optimal layout for the interface depending on their device's screen size
- See hover and focus states for all interactive elements on the page
- Solution URL: GitHub Pages
- Semantic HTML5 markup
- Tailwind
- Vue 3 (composition API)
- Nuxt 3
- Prettier validation enforced
There isn't any native ways to format an input
field of type number
.
In order to have a ,
separator every 3 digit (e.g. currencies), one needs to write some javascript code to format the input
element, then cast the value back to a number
again for further processing.
- Website - frite.dev
- Frontend Mentor - @vdsbenoit
- Linkedin - @vdsbenoit