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: Frontend mentor solution
- Live Site URL: Tip calculator
- Semantic HTML5 markup
- Flexbox
- Mobile-first workflow
I practice a lot with event listeners.
reset.addEventListener("click", () => {
tip.textContent = "$0.00";
total.textContent = "$0.00";
});
My great dog was my support in this project :D