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

Tip Calculator App

dolapobj 310

@dolapobj

Desktop design screenshot for the Tip calculator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

Most proud of working and getting more comfortable with DOM manipulation using javascript.

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

I think the biggest challenges were with javascript, validating the forms, and figuring out how to check and validate all the values before displaying the tip amount and total amount. I ended up using a global variable to store those values, and then I would check that global variable everytime there was a change made. Seems to work well.

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

Mostly on the validation and flow of my javascript.

Community feedback

@sonmikrafft

Posted

Looks good.

You could add data validation for the other fields and only allow whole numbers for the number of people.

0

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