Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Age calculator App

@salmafadlabdulrahman

Desktop design screenshot for the Age calculator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello there, I made a calculator app with javascript, feel free to check it out and give me ideas about how to refactor my code.

The most difficult part for me was looping through the input fields and when the user does not provide a value make a red border and show an error message and change the color of the label, I managed to changed the color of the border and show the error message but I didn't make the label change color when there's an error.

I learned some stuff with this project and I found it a little bit difficult but i'm glad I got to finish it.

if there's any resources that helped you learn javascript and made you better please share them with us. thank you in advance

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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