Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Learning project: a basic tip calculator demonstrating form handling, input validation, and DOM updates with vanilla JavaScript.

License

Notifications You must be signed in to change notification settings

scottdaigger/tip-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tip-calculator

Learning project: a basic tip calculator demonstrating form handling, input validation, and DOM updates with vanilla JavaScript.

Features

  • Enter bill amount, choose service quality, and number of people
  • Calculates tip amount per person
  • Hides "each" when only one person is paying
  • Basic form validation with alerts

Tech

  • HTML5 + CSS3 (normalize.css + custom styles)
  • JavaScript (DOM access, event handling, arithmetic)

What I Practiced

  • Grabbing and validating input from forms
  • Updating the DOM dynamically
  • Applying math logic to a real-world scenario

Run Locally

Open tipcalculator.html in a browser.

Credits

Originally built as part of a Udemy front-end practice exercise.

License

MIT

About

Learning project: a basic tip calculator demonstrating form handling, input validation, and DOM updates with vanilla JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published