Skip to content

CSI-VIT-AP/Tip_Calculator_21MIC7183

 
 

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

Please open the README.md file for description

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 61.6%
  • CSS 19.5%
  • JavaScript 18.9%