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: https://github.com/Grapava00/tip-calculator
- Live Site URL: https://csb-01txuf.netlify.app/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- React - JS library
Use this section to recap over some of your major learnings while working through this project. Writing these out and providing code samples of areas you want to highlight is a great way to reinforce your own knowledge.
To see how you can add code snippets, see below:
input:focus {
outline: 2px solid var(--Strong-cyan);
caret-color: var(--Strong-cyan);
}
}news :
- caret-color property.
function handleChange(event) {
const { value, name, maxLength } = event.target;
setData((prevData) => ({
...prevData,
[name]: Number.isInteger(value)
? parseInt(value.slice(0, maxLength), 10)
: parseFloat(value.slice(0, maxLength))
}));
}News :
- Number object
- isInteger function
- Frontend Mentor - Grapava00
I would like to express my special thanks to my mentor Beka Zandukeli, who provided me with valuable help.

