PaulAroo / tip-calculator

calculates the tip amount split between a given number of people.

Home Page:https://paularoo.github.io/tip-calculator/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Javascript

What I learned

  • DOM manipulation
  • Input Validation

Continued development

  • better ways to structure Javascript code (achieve less code)
  • use less media queries and more css functions to achieve responsiveness

Author

About

calculates the tip amount split between a given number of people.

https://paularoo.github.io/tip-calculator/


Languages

Language:CSS 43.9%Language:HTML 31.0%Language:JavaScript 25.1%