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 Using Tailwind CSS

omk963 40

@omk963

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?

This was my first time implementing Tailwind-CSS and I'm still learning. I hope to be able to apply custom Tailwind classes to make the code less bulky.

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

Right now, the code is repetitive and not as clean as I want it to be. This includes the Tailwind-CSS. There's a few repeat classes that I would've liked to make a custom class for but I wasn't sure how to.

Community feedback

@rejin-kumar

Posted

Using radio buttons instead of normal buttons for tips could simplify your logic a bit. Hope it helps :)

1

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