-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex4.html
51 lines (49 loc) · 1.87 KB
/
index4.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
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Rubik" rel="stylesheet">
<title>Checkbox Input</title>
</head>
<body>
<section id="overlay">
<img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-6/htmlcss1-img_burger-logo.svg" alt="Davie's Burgers Logo" id="logo">
<hr>
<form>
<h1>Customize your burger!</h1>
<section class="protein">
<label for="patty">What type of protein would you like?</label>
<input type="text" name="patty" id="patty">
</section>
<hr>
<section class="patties">
<label for="amount">How many patties would you like?</label>
<input type="number" name="amount" id="amount">
</section>
<hr>
<section class="cooked">
<label for="doneness">How do you want your patty cooked</label>
<br>
<span>Rare</span>
<input type="range" name="doneness" id="doneness" value="3" min="1" max="5">
<span>Well-Done</span>
</section>
<hr>
<section class="toppings">
<span>What toppings would you like?</span>
<br>
<!--Add your code below for the first checkbox-->
<input id="lettuce" name="topping" type="checkbox" value="lettuce">
<label for="lettuce">Lettuce</label>
<!--Add your code below for the second checkbox-->
<input id="tomato" name="topping" type="checkbox" value="tomato">
<label for="tomato">Tomato</label>
<!--Add your code below for the third checkbox-->
<input id="onion" name="topping" type="checkbox" value="onion">
<label for="onion">Onion</label>
</section>
</form>
</section>
</body>
</html>