Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.28 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.28 KB

Tip Calculator

image

Description

This repository contains the source code for a simple and interactive tip calculator web application. The application allows users to enter their bill amount, select the desired tip percentage, and choose their currency. It also remembers user's previous input using localStorage, hence saving user's preferences for subsequent uses.

Features

  • Calculates tip based on user-specified bill amount and tip percentage.
  • Allows users to choose their preferred currency.
  • Saves user's input and selected currency using localStorage.

Technology Stack

  • HTML
  • CSS
  • JavaScript (compiled from Typescript)

Getting Started

  1. Fork the repository and clone it to your local machine.
  2. Open the index.html file in your preferred web browser.
  3. Start using the application by entering the bill amount and tip percentage, and selecting your currency.

Usage

  1. Enter the bill amount in the "Bill Amount" field.
  2. Enter the desired tip percentage in the "Tip Percentage" field.
  3. Choose your currency from the "Currency" dropdown.
  4. Click "Calculate" to calculate the tip amount.

Your calculated tip amount will be displayed next to the "Calculate" button.