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
-
Mobile design:
- complete state - screenshot
- empty state - screenshot
- active state - see desktop
-
Tablet design:
- complete state - screenshot
- empty state - screenshot
- active state - see desktop
-
Desktop design:
- complete state - screenshot
- empty state - screenshot
- active state - screenshot
- Solution URL: solution posted on Frontend Mentor
- Live Site URL: visit live site
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
MDN WEB DOCS - Alignment and auto margins - This helped me in the desktop layout where I needed to align the reset button vertically to the bottom of the flex container.
- Frontend Mentor - @OnyedikachiOzoani
- Stack Overflow - @coding-nerd
All thanks to Frontend Mentor for sharing such an educative challenge. This challenge tested my Flexbox Layout, Grid Layout, and JavaScript DOM manipulation and Algorithmic thinking skills.
Thanks for checking out my project.