-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (57 loc) · 2.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hogwarts Admission Form </title>
<link href="https://fonts.googleapis.com/css?family=Jolly+Lodger" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
<div id="amblem1"></div>
<div id="amblem2"></div>
<form action="#">
<nav>
<label for="name">Your Name : </label>
<input type="text" name="name" id="name" placeholder="Albus Dumbledore" required>
</nav>
<nav>
<p>Is any of the parent Muggle ?</p>
<input type="radio" name="parent" id="parent1" value="Yes" required>
<label for="parent1">Yes</label>
<input type="radio" name="parent" id="parent2" value="No" checked required>
<label for="parent2">No</label>
</nav>
<nav>
<p>Which elements you naturally attract to ?</p>
<input type="checkbox" name="air" id="air">
<label for="air">Air</label>
<input type="checkbox" name="water" id="water">
<label for="water">Water</label>
<input type="checkbox" name="fire" id="fire" checked>
<label for="fire">Fire</label>
</nav>
<nav>
<p>Which is your favorite house at Hogwarts ?</p>
<select name="house" id="house" required>
<option value="Gryffindor">Gryffindor</option>
<option value="Ravenclaw">Ravenclaw</option>
<option value="Slytherin">Slytherin</option>
<option value="Hufflepuff">Hufflepuff</option>
</select>
</nav>
<nav>
<button><span id="click">Click</span></button>
</nav>
</form>
</main>
<footer>
<audio autoplay>
<source src="./fon_music.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
</footer>
</body>
</html>