-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms-lec.html
More file actions
42 lines (37 loc) · 1.42 KB
/
forms-lec.html
File metadata and controls
42 lines (37 loc) · 1.42 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>HTML forms lecture</title>
</head>
<body>
<!--<form method="POST" action="https://request-inspector.glitch.me/">-->
<!-- <label for="username">Username</label>-->
<!-- <input id="username" name="username" type="text">-->
<!-- <br>-->
<!-- <label for="password">Password</label>-->
<!-- <input id="password" name="password" type="password">-->
<!-- <br>-->
<!-- <input type="submit">-->
<form action="https://request-inspector.glitch.me" method="GET">
<label for="zipcode">Zipcode</label>
<input type="text" name="zipcode" id="zipcode" placeholder="input a zipcode">
<button type="submit">Search</button>
<br>
<br>
<label for="favColor">Choose your favorite color!</label>
<input type="radio" name="favColor" id="favColor" value="Red">Red
<input type="radio" name="favColor" id="favColor" value="Blue">Blue
<input type="radio" name="favColor" id="favColor" value="Green">Green
<br>
<label for="pizzaTopping">Pick a Pizza Topping!</label>
<select name="pizzaTopping" id="pizzaTopping" required>
<option value=""><placeholder>Please Select One</placeholder></option>
<option value="Pepperoni">Pepperoni</option>
<option value="Sausage">Sausage</option>
</select>
<br>
<label for="volume">Volume</label>
<input type="range" min="1" max="25" name="volume" id="volume">
</form>
</body>
</html>