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: Solution URL
- Live Site URL: live site
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
While continuing my journey of learning JavaScript, I learnt about a new type of event type called blur
code snippets, see below:
billValue.addEventListener("blur", function () {
console.log(billValue.value);
});
- Javascript
- Frontend Mentor - @SoulOfMo
- Twitter - @morin_sultan