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

Calculator using React + tailwind

MiikePine 60

@MiikePine

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


this is my first challenge submit.

I found some difficulties in the following things:

1- how to slip the white square in 2, and to put green square taking 50%. (not sure if was supposed to do like that) . btw, I would love to know how it should be done.

2- I know its easy, but some of the javacript logic.

PS. I would love to get some critics, to know what I should do better and what is not well done.

thank you all

Mike

Community feedback

Mako 360

@MakoDoli

Posted

Great job! especially for first submit :) I have a little advice: maybe you should try to set empty 'useState('')' for bill and people instead '0' and '1', because user has to delete those numbers to enter own value. or you can use 'onFocus' attribute on input and change useStates to empty with it. Good luck!

Marked as helpful

0

MiikePine 60

@MiikePine

Posted

@MakoDoli thanks for your tip! I will review that part of the code!

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