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.
Note: Delete this note and update the table of contents based on what sections you keep.
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: Click here
- Live Site URL: Click here
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
I'm pretty old school with most of my HTML and CSS so flexbox/grid are pretty new for me. So this project was to get some experience with that.
My JS is also pretty amateur so this was a good project to improve upon that.
Most of my work, I don't have to create custom form fields so developing a custom validation message was good and also playing with some of the form field settings. The little things like setting the field to "number" or setting a minimum value make a big difference in the usability.
I made sure that when clicking a text box that it would highlight the text on-click (at least for android.....)
I still need work on Javascript/CSS/HTML but this is a good start. Most of what I need to improve upon is not relying on looking up how to do something. That is very time consuming and inefficient.
- Frontend Mentor - @jhorii