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