-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (83 loc) · 3.25 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Sorting Hat</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
<script defer type="text/javascript" src="./src/index.js"></script>
</head>
<body>
<header>
<h1>Sorting Hat</h1>
</header>
<div id="house-bar">
</div>
<div id="house-basic-info">
<img
class="house-image"
src="https://static.wikia.nocookie.net/warner-bros-entertainment/images/d/df/117843736.jpg/revision/latest?cb=20160227190718"
alt="house-image"
id="house-img"
/>
<h2 class="house-name" id="house-name">Hogwarts</h2>
<h3 class="house-animal" id="house-animal">Welcome new student!</h3>
</div>
<form id="sorting-question">
<h3>Ready to get sorted?</h3>
<p>Answer three quick questions!</p>
<select id="traits-dropdown" name="sorting-answer">
<option id="select-trait">select your trait</option>
<option value="a" id="a">Tenacity</option>
<option value="b" id="b">Diligence</option>
<option value="c" id="c">Ardor</option>
<option value="d" id="d">Integrity</option>
<option value="e" id="e">Aspiration</option>
<option value="f" id="f">Creativity</option>
<option value="g" id="g">Wit</option>
<option value="h" id="h">Fortitude</option>
</select>
<select id="wands-dropdown" name="sorting-answer">
<option id="select-trait">select your wand length</option>
<option value="a" id="a">3"</option>
<option value="b" id="b">5"</option>
<option value="c" id="c">7"</option>
<option value="d" id="d">9"</option>
<option value="e" id="e">11"</option>
<option value="f" id="f">13"</option>
<option value="g" id="g">15"</option>
<option value="h" id="h">17"</option>
</select>
<select id="tax-dropdown" name="sorting-answer">
<option id="select-trait">select your tax bracket</option>
<option value="a" id="a">$0 to $10,275</option>
<option value="b" id="b">$10,276 to $41,775</option>
<option value="c" id="c">$89,076 to $170,050</option>
<option value="d" id="d">$170,051 or more</option>
</select>
<button type="button" id="sort-button">
<img id="sorting-hat" src="./HP_crest/sorting_hat.png" alt="sorting-hat">
</button>
<p id="click-me">Click me!</p>
</form>
<div id="sorted-announcement">
<h2 id="announcement-message"></h2>
</div>
<form id="enter-password-form" style="display: none">
<label for="password">Enter Password: </label>
<input type="text" name="password" id="password" />
<input type="submit" value="Enter the common room" />
</form>
<div id="house-detail-info">
<div id="school-info">
<p id="founder"></p>
<p id="house-colors"></p>
<p id="common-room"></p>
<p id="element"></p>
<p id="ghost"></p>
</div>
<div id="same-house-members">
<h3 id="members"></h3>
</div>
</div>
</body>
</html>