-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathforms.html
executable file
·91 lines (85 loc) · 4.44 KB
/
forms.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!doctype html>
<html lang="en-us">
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>HTML5 Forms Exercise</title>
<meta name="description" content="HTML5 Forms Exercise">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<main>
<form id="revenge">
<fieldset>
<legend>Your Details</legend>
<ol>
<li>
<label for="height">What is your height in hands?</label>
<input type="number" id="height" placeholder="1 hand is 4 inches!" name="height" step="1">
</li>
<li>
<label for="weight">What is your weight in stones?</label>
<input type="number" id="weight" placeholder="1 stone is 14 lbs!" name="weight" step="1">
</li>
<li>
<label for="killcount">How many walkers have you killed?</label>
<input type="text" requried id="killcount" placeholder="How many kills?" name="killcount" list="excuses">
<datalist id="excuses">
<option value="None... yet!"/>
<option value="Zero confirmed, but lots of blood."/>
<option value="All of them. Humanity is saved!"/>
<option value="I believe in zombie rehabilitation"/>
</datalist>
</li>
</fieldset>
<fieldset>
<legend>Nemesis Info</legend>
<ol>
<li>
<label for="email">Please enter your enemy's email</label>
<input type="email" id="email" placeholder="[email protected]"/>
</li>
<li>
<label for="phone">If available, enter your enemy's 10-digit phone number</label>
<input type="number" id="phone" placeholder="123-456-7890" pattern="[0-9]{10}">
<li>
<fieldset>
<legend>Which of the following terms best describe the slight to be avenged?</legend>
<input id="public shaming" type="radio" name="shame" value="shame">
<label for="overnight">Public shaming</label>
<input id="envy" type="radio" name="envy" value="envy">
<label for="envy">Stole love of your life</label>
<input id="family" type="radio" name="family" value="family">
<label for="ground">Killed parents/siblings/dearly beloved uncle</label>
<input id="greed" type="radio" name="greed" value="greed">ß
<labelfor="greed">Drank your milkshake</label>
</fieldset>
</li>
<li>
<label for="enemyTraining">Please indicate your enemy's level of combat training</label>
<select id="enemyTraining" placeholder=" Level of training" name="select">
<option value="1">Jason Bourne</option>
<option value="2">Black belt with a black heart</option>
<option value="3">Mean drunk</option>
<option value="4">Generally non-violent</option>
<option value="5">Bieber</option>
</li>
</ol>
</fieldset>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X');ga('send','pageview');
</script>
</body>