Calculator using React + tailwind

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
Please log in to post a comment
Log in with GitHubCommunity feedback
- @MakoDoli
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
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