Nice one! Your code is also very well done, however I noticed that the bill can be put as a negative number. Try to fix that condition if you like!
Marked as helpful
@JEWebDev
Posted
@kayan2004 Thanks! Now should be fixed
What are you most proud of, and what would you do differently next time?
I am proud that i could finish the challenge applying what i have learned of html css and js without much complications so far.
What challenges did you encounter, and how did you overcome them?
how to round a number to only two decimal digits. The solution i found was to use the fixed method like this number.fixed(2)
What specific areas of your project would you like help with?
Any feedback is welcomed!
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