This is a solution to the Tip calculator app challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the app depending on their device's screen size
- See hover states for all interactive elements on the page
- Calculate the correct tip and total cost of the bill per person
- Solution URL: https://github.com/DaringuL/splitter
- Live Site URL: https://splitter.herokuapp.com/
- React - JS library
- CSS custom properties
- Flexbox
- Mobile-first workflow
It was a great opportunity to better understand React hooks, such as useState() and useEffect(). Also I once again trained mobile-first development of CSS layout.
I still want to figure out how to make warning span for zero persons input, which however wouldn't be shown at default state as long as according to design screenshots default state should be 0.
- Website - Add your name here
- Frontend Mentor - @DaringuL
- Twitter - @Daringu_L