-
Notifications
You must be signed in to change notification settings - Fork 1
/
DragonSurvey.html
175 lines (160 loc) · 9.92 KB
/
DragonSurvey.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Practice Survey</title>
<link rel="stylesheet" href="Styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- ROBOTO FONT -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<!-- OSWALD FONT -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oswald:[email protected]&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<!-- BOOTSTRAP: Latest compiled and minified CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="header">Dragon Practice Website</div>
<div class="navbar sticky-top navbar-expand-sm bg-dark" data-bs-theme="dark">
<div class="container">
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarNav"><span class="navbar-toggler-icon"></span></button>
<div class="navbar-nav collapse navbar-collapse justify-content-evenly" id="navbarNav">
<a href="index.html" class="nav-link nav-item active">Homepage</a>
<a href="Humans.html" class="nav-link nav-item active">Human Characters</a>
<a href="DragonChars.html" class="nav-link nav-item active">Dragon Characters</a>
<a href="DragonSurvey.html" class="nav-link nav-item active">Survey</a>
<a href="FanGallery.html" class="nav-link nav-item active">Fan Art</a>
<a href="GamePage.html" class="nav-link nav-item active">Game</a>
</div>
</div>
</div>
<div class="content container-fluid">
<div class="info">
<h1>Dragon Survey</h1>
<p>To gather information on various dragon abilities and preferences!</p>
</div>
<div class="row justify-content-center my-4">
<div id="music">
<div class="col-md-6 text-end">
<p style="padding-top: 5px; padding-right: 5px;">I'd like music while I fill this out:</p>
</div>
<div class="col-md-6">
<button class="btn btn-dark" onclick="playSong()">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">
<path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393"/>
</svg>
</button>
<button class="btn btn-dark" onclick="pauseSong()">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">
<path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5m5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5"/>
</svg>
</button>
</div>
<audio id="surveySong">
<source src="Audio/Epic Emotional - AShamaluevMusic.mp3">
</audio>
</div>
</div>
<div class="row justify-content-center">
<div class="col-lg-6">
<form style="font-size: 20px;">
<fieldset>
<label for="name" class="form-label">Viking Name:</label>
<div class="input-group mb-4">
<span class="input-group-text">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">
<path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6"/>
</svg>
</span>
<input type="text" id="name" class="form-control" style="height: 46px" name="name" placeholder="firstname" required>
</div>
<label for="petname" class="form-label">Dragon Name:</label>
<div class="input-group mb-4">
<span class="input-group-text">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-fire" viewBox="0 0 16 16">
<path d="M8 16c3.314 0 6-2 6-5.5 0-1.5-.5-4-2.5-6 .25 1.5-1.25 2-1.25 2C11 4 9 .5 6 0c.357 2 .5 4-2 6-1.25 1-2 2.729-2 4.5C2 14 4.686 16 8 16m0-1c-1.657 0-3-1-3-2.75 0-.75.25-2 1.25-3C6.125 10 7 10.5 7 10.5c-.375-1.25.5-3.25 2-3.5-.179 1-.25 2 1 3 .625.5 1 1.364 1 2.25C11 14 9.657 15 8 15"/>
</svg>
</span>
<input type="text" id="petname" class="form-control" style="height: 46px" name="petname" placeholder="pet name/made up" required>
</div>
<label for="species" class="form-label">My Dragon Is A:</label>
<select id="species" name="species" class="form-select mb-4" style="height: 46px">
<option>Select One</option>
<option>Deadly Nadder</option>
<option>Hiddeous Zippleback</option>
<option>Gronckle</option>
<option>Monstrous Nightmare</option>
<option>Other</option>
</select>
<span class="form-label">My Dragon Enjoys (check all that apply):</span>
<div class="form-check">
<input type="checkbox" id="fish" class="form-check-input" name="fish" class="checks" checked>
<label for="fish" class="form-check-label">Fish</label>
</div>
<div class="form-check">
<input type="checkbox" id="chicken" class="form-check-input" name="chicken" class="checks">
<label for="chicken" class="form-check-label">Chicken</label>
</div>
<div class="form-check">
<input type="checkbox" id="sheep" class="form-check-input" name="sheep" class="checks">
<label for="sheep" class="form-check-label">Sheep</label>
</div>
<div class="form-check">
<input type="checkbox" id="nip" class="form-check-input" name="nip" class="checks">
<label for="nip" class="form-check-label">Dragon Nip</label>
</div>
<div class="form-check">
<input type="checkbox" id="light" class="form-check-input" name="light" class="checks">
<label for="light" class="form-check-label">Chasing Light</label>
</div>
<div class="form-check">
<input type="checkbox" id="fetch" class="form-check-input" name="fetch" class="checks">
<label for="fetch" class="form-check-label">Playing Fetch</label>
</div>
<div class="form-check">
<input type="checkbox" id="brush" class="form-check-input" name="brush" class="checks">
<label for="brush" class="form-check-label">Being Brushed</label>
</div>
<div class="form-check">
<input type="checkbox" id="flight" class="form-check-input" name="flight" class="checks">
<label for="flight" class="form-check-label">Flight Practice</label>
</div><br>
<span class="form-label">My Dragon's Fire Type:</span>
<div class="form-check">
<input type="radio" id="blasts" class="form-check-input" name="fire" class="checks" checked>
<label for="blasts" class="form-check-label">Blasts</label>
</div>
<div class="form-check">
<input type="radio" id="stream" class="form-check-input" name="fire" class="checks">
<label for="stream" class="form-check-label">Streaming</label>
</div>
<div class="form-check">
<input type="radio" id="gas" class="form-check-input" name="fire" class="checks">
<label for="gas" class="form-check-label">Gas/Spark</label>
</div>
<div class="form-check mb-4">
<input type="radio" id="otherfire" class="form-check-input" name="fire" class="checks">
<label for="otherfire" class="form-check-label">Other</label>
</div>
<div class="form-floating mb-4">
<textarea id="comments" name="comments" class="form-control" style="height: 140px" placeholder="Thank you for your input!"></textarea>
<label for="comments">Extra Comments:</label>
</div>
<div class="mb-4">
<button type="submit" onclick="alert('Thanks for participating in the dragon survey!')" class="btn btn-outline-success btn-lg">Submit</button>
<button type="reset" class="btn btn-outline-danger btn-lg">Reset</button>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<div class="footer">Made by K Zongker</div>
<!-- Latest compiled JavaScript -->
<script src="music.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>