Capstone: Tip Calculator
Put everything together by building a tip calculator that computes how much to tip at a restaurant.
Step 1 of 5
Let's put it all together!
We'll build a tip calculator that computes how much to tip at a restaurant. You've learned variables, data types, operators, and console.log — this project uses all of them. By the end, you'll have a working calculator that takes a bill amount, applies a tip percentage, and tells you exactly how much to pay.
Think of it this way: Imagine you're at a restaurant and the bill comes. You want to leave a 15% tip — let's write code to figure out the exact amount instead of guessing or reaching for a phone calculator.
Learn more on MDN