-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
73 lines (47 loc) · 1.81 KB
/
form.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pizza Form</title>
</head>
<body>
<form action="">
<h1>Pizzaaaaaa Space</h1><br>
<label for="fname">First Name</label><br><br>
<input name="fname" type="text" placeholder="Enter your first name" required />
<br><br>
<label for="lname">Last Name</label><br><br>
<input name="lname" type="text" placeholder="Enter your last name" required />
<br><br>
<label for="grad">Pizza</label><br><br>
<input type="radio" name="radio">Thin Crust</input><br>
<input type="radio" name="radio">Pan Style</input>
<br><br>
<label for="textarea">Describe your pizza</label><br>
<input name="textarea" type="textarea" rows="100" cols="100" />
<br><br>
<label for="quanity">How many Pizzas</label><br>
<input type="number" name="quanity" step="1" />
<br><br>
<label for="Extras">Extras</label><br>
<input type="checkbox" name="Extras">Cheese</input><br>
<input type="checkbox" name="Extras">Paperoni</input><br>
<input type="checkbox" name="Extras">olives</input><br>
<input type="checkbox" name="Extras">cheese burst</input><br>
<br><br>
<label for="crispy">Crysp Level</label><br>
<input type="range" name="crispy" min="0" max="5" step="1" />
<br><br>
<input type="button" name="Click Me" value="Click Me" id="click_me" onclick="pizzas()" />
<input type="submit" value="send" />
</form>
</body>
<script>
function pizzas() {
document.getElementById("#click_me");
alert("Pizzaaaaa Space")
console.log("Button Clicked")
}
pizzas();
</script>
</html>