Exercises XP Ninja — DOM, Events, Forms
Exercise 1: Calculate the tip 🍽️
Bill Amount
Service Quality
-- Choose an option --
10% — OK
15% — Good
20% — Great
25% — Excellent
# of People
Calculate
Tip
each
💸
0.00
Exercise 2: Validate the email 📧
Email
Method:
No-Regex
Regex
Check
Enter an email and choose a method.
Exercise 3: Get the user’s geolocation coordinates 📍
Get Coordinates
Click the button to fetch coordinates…