This is a solution to the Tip calculator app challenge on Frontend Mentor.
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: GitHub
- Semantic HTML5 markup
- Flexbox
- CSS custom properties
- Desktop-first workflow
- HTML DOM classList Property
- Element.closest() Method
- document.querySelector() Method
Got some inspiration from abdo-kotb's solution