-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
99 lines (98 loc) · 3.15 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
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
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<link
href="https://netdna.bootstrapcdn.com/bootswatch/3.0.3/united/bootstrap.min.css"
rel="stylesheet"
type="text/css"
media="all"
/>
<link href="css/main.css" rel="stylesheet" type="text/css" media="all" />
<title>Mad Libs Template</title>
</head>
<body>
<div class="container">
<!-- start form -->
<div id="questions">
<h1>Please fill out the following!</h1>
<hr />
<form role="form">
<div class="form-group">
<label for="person">Boy's Name</label>
<input
for="person"
class="form-control person"
type="text"
placeholder="Enter a boy's name .."
/>
</div>
<div class="form-group">
<label for="adjective">Adjective</label>
<input
for="adjective"
class="form-control adjective"
type="text"
placeholder="Enter an adjective .."
/>
</div>
<div class="form-group">
<label for="noun">Plural noun</label>
<input
id="noun"
class="form-control noun"
type="text"
placeholder="Enter a plural noun .."
/>
</div>
<div class="form-group">
<label for="insect">An insect, plural</label>
<input
id="insect"
class="form-control insect"
type="text"
placeholder="Enter an insect, plural .."
/>
</div>
<div class="form-group">
<label for="noun2">Plural noun</label>
<input
id="noun2"
class="form-control plural-noun"
type="text"
placeholder="Enter a plural noun .."
/>
</div>
<div class="form-group">
<label for="verb">A verb ending in "s"</label>
<input id="verb" class="form-control verb" type="text"
placeholder="Enter a verb ending in "s" ..">
</div>
<div></div>
</form>
<button id="btn-click" type="submit" class="btn btn-primary btn-lg">
Generate!
</button>
<hr />
</div>
<!-- end form -->
<!-- start story -->
<div id="story">
<h1>Mad with the Libs</h1>
<hr />
<h3>
I'm in love with <span class="person"></span>. He's so
<span class="adjective"></span>! He has big flat
<span class="noun"></span>, and when our
<span class="insect"></span> meet, I get
<span class="noun2"></span> in my stomach. I've fallen for him like a
ton of <span class="verb"></span>, and he shuffles for me, too. But I
think he's got another girlfriend. What should I do?
</h3>
</div>
<!-- end story -->
</div>
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>