-
Notifications
You must be signed in to change notification settings - Fork 80
/
index.html
64 lines (52 loc) · 2.62 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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>JavaScript and Forms Demo</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/main.css"/>
</head>
<body>
<main class="container">
<header class="page-header">
<img src="img/pen-ink.png" alt="pen and ink icon" class="pull-right"/>
<h1>Who Are You?</h1>
<p class="lead">Tell us about yourself</p>
</header>
<p class="alert alert-danger" id="error-message"></p>
<form id="person-form" action="http://info343.ischool.uw.edu:8889/echo" method="POST" role="form">
<div class="form-group">
<label for="first-name" class="required-field">First Name</label>
<input type="text" id="first-name" name="firstName" class="form-control"
placeholder="your first name" autofocus/>
</div>
<div class="form-group">
<label for="last-name" class="required-field">Last Name</label>
<input type="text" id="last-name" name="lastName" class="form-control" placeholder="your last name"/>
</div>
<div class="form-group">
<label for="standing" class="required-field">Year In School</label>
<select name="standing" id="standing" class="form-control">
<option value="" selected disabled>(choose from list...)</option>
</select>
</div>
<div class="form-group">
<label for="age">Age</label>
<input type="number" name="age" class="form-control" id="age" min="10" max="100" step="1" placeholder="your age"/>
</div>
<div class="form-group">
<label for="email">Email Address</label>
<input type="email" id="email" name="email" class="form-control" placeholder="your email address"/>
</div>
<div class="form-group text-right">
<div class="col-sm-12">
<button type="submit" class="btn btn-primary">Reveal Myself to the World!</button>
</div>
</div>
</form>
</main>
<script src="js/app.js"></script>
<script src="js/object.js"></script>
</body>
</html>