Skip to content

JepardMay/tip-calculator

Repository files navigation

Frontend Mentor - Tip calculator app solution

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.

Table of contents

Overview

The challenge

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

Screenshots

Desktop view Mobile view

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • SASS preprocessor
  • Mobile-first workflow
  • React - JS library

What I learned

  • How to use useContext
  • How to use useReducer
  • Why use PropTypes

Available Scripts

In the project directory, you can run:

  • npm start

  • npm test

  • npm run build

Author

Releases

No releases published

Packages

No packages published