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
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?

.

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

.

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

.

Community feedback

P

@grmbyrn

Posted

Your code is functional, but several improvements can enhance readability, maintainability, and functionality. Consider using constants for repeated strings and separating logic into smaller, more manageable functions. Improve error handling by providing clear user feedback and ensure that functions focus on a single task. Optimize event listeners by using a single listener for similar elements. Additionally, simplify the reset function for better clarity. These changes will make your code more modular and easier to maintain.

0

@Tayara97

Posted

if you don't mind could you tell me specifically what should i do to make it better ? @grmbyrn

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