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

Splitter Tip Calculator Tailwind CSS

Abiel Ortegaā€¢ 40

@Abiel101

Desktop design screenshot for the Tip calculator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Community feedback

Eduardo Torresā€¢ 170

@edu290386

Posted

You can check my project, for error message you must do something like this in your classname with an ternary operator : className={(values.people == 0) ? "w-full py-2 text-2xl text-right font-bold rounded-lg bg-[#f3f8fb] pr-4 focus:outline-red-500 border border-red-500 " : "w-full py-2 text-2xl text-right font-bold rounded-lg text-[#0c494c] bg-[#f3f8fb] pr-4 focus:outline-[#30c1ad] hover:cursor-pointer"} placeholder="0"

Check my project: https://github.com/edu290386/Frontmentor-TipCalulatorApp.git

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