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 with HTML, CSS & JS

@JoseAngara

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


Hi, everyone. ¿Is there a better way to use JS in forms? I feel like my code is a little messy.

Community feedback

@Nova988

Posted

Hello,

In 2022 you should try to avoid using var. Instead of var use let and const.

Here you can read why you shouldn't use it : https://medium.com/@codingsam/awesome-javascript-no-more-var-working-title-999428999994.

Hope it helps.

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