Skip to content

devctor/tip-calculator-app-frontendmentor

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

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • Flexbox
  • Typescript
  • Mobile-first workflow
  • React - JS library
  • Vite - React framework
  • Styled Components - For styles

What I learned

I found in this project a fun way to learn about sharing states between components. Also helps me to clarify some behaivior on data input thru forms.

Continued development

I could add some data validation and better testing, something like cypress perhaps.

Author

About

Frontend Mentor solution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published