-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (38 loc) · 1.81 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html lang="en">
<head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
<title>Valentine's Challenge Week 💘</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Karla:wght@500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="index.css">
</head>
<body>
<h1>Gift Selector 💝</h1>
<p class="result" id="result">Total gift cost: <span id="cost-el">...</span></p>
<form>
<label for="food-select">Select food:</label>
<select id="food-select">
<option value="">--Please select an option--</option>
<option value="5">🍓 strawberries - $5</option>
<option value="10">🍫 chocolate - $10</option>
<option value="20">🧁 cupcakes - $20</option>
</select>
<br>
<label for="transport-select">Select transport:</label>
<select id="transport-select">
<option value="">--Please select an option--</option>
<option value="5">🛼 rollerskates - $5</option>
<option value="50">🚘 limo - $50</option>
<option value="500">🚁 helicopter - $500</option>
</select>
<br>
<div>
<label for="balloon-checkbox">Add balloons? 🎈</label>
<input type="checkbox" id="balloon-checkbox" name="balloon-checkbox" checked>
</div>
<button id="btn" type="button">Calculate</button>
</form>
<script src="index.pack.js"></script>
</body>
</html>