Skip to content

hemavenkat8642/Tip_Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tip_Calculator

Functionalities of the project :
---> When calculateButton is clicked, the tip amount and the total amount should be calculated using the following formulae and these values will be displayed in the tip amount and the total amount input HTML elements. (only if bill amount and percentage tip inputs are entered)
tipAmount = (percentageTip / 100) * billAmount
totalAmount = billAmount + tipAmount
---> The error message will be displayed when any of the following conditions are satisfied.
If the HTML input element with the id billAmount is empty.
If the HTML input element with the id percentageTip is empty.
If both the HTML input elements with the ids billAmount and percentageTip are empty.

Link to open : https://hemavenkat8642.github.io/Tip_Calculator/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published