-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (40 loc) · 1.2 KB
/
index.html
File metadata and controls
45 lines (40 loc) · 1.2 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
43
44
45
<!doctype html>
<html>
<head>
<!-- Scripts aren't typically loaded in the head, but we're going to do it
anyway for fun -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.3/underscore-min.js"></script>
<script src="js/index.js"></script>
</head>
<body>
<!-- PROBLEM 1 -->
<section>
<h2>Alert some text</h2>
<form class="form-alert">
<input type="text" class="txt-alert" />
<input type="submit" value="Alert"/>
</form>
</section>
<!-- PROBLEM 2 -->
<section>
<h2>Put some items into a list</h2>
<button class='btn-types'>List</button>
</section>
<!-- PROBLEM 3 -->
<section>
<h2>Basic addition widget</h2>
<form class="form-add">
<input type="text" class="txt-add" />
<input type="text" class="txt-add" />
<input type="submit" value="Add" />
</form>
<span class="add-answer"></span>
</section>
<!-- PROBLEM 4 -->
<section>
<h2>Mysterious button</h2>
<button class="btn-mystery">What do I do?</button>
</section>
</body>
</html>