-
Notifications
You must be signed in to change notification settings - Fork 0
/
dificiles.html
129 lines (117 loc) · 4.85 KB
/
dificiles.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Trivia de Harry Potter</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<style>
body {
background-image: linear-gradient(30deg,rgba(0,0,0,.5),rgba(0,0,0,.5)),url('hp-portada3.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-position: center;
}
@media screen and (max-device-width: 768px){
body {
background-image: linear-gradient(30deg,rgba(0,0,0,.5),rgba(0,0,0,.5)),url('hp-portada5.jpg');
background-attachment: local;
background-size: 22em;
background-position:top;
background-repeat: repeat;
}
}
</style>
</head>
<body>
<div>
<h4 class="title">hp trivia</h4>
</div>
<div class="divisionLine"></div>
<section>
<form name="triviaFormDificiles" onsubmit="return verificarRespuestasDificiles()">
<div class="container">
<h4 class="class-easyQuestions">1. What was Bellatrix Lestrange's house when she studied at Hogwarts?</h4>
<p>
<label class="class-easyAnswers" for="h-q1-a1">A) Ravenclaw.</label>
<input id="h-q1-a1" name="h-q1" type="radio" value="a">
</p>
<p>
<label class="class-easyAnswers" for="h-q1-a2">B) Slytherin.</label>
<input id="h-q1-a2" name="h-q1" type="radio" value="b">
</p>
<p>
<label class="class-easyAnswers" for="h-q1-a3">C) Hufflepuff.</label>
<input id="h-q1-a3" name="h-q1" type="radio" value="c">
</p>
</div>
<div class="container">
<h4 class="class-easyQuestions">2. Who gave Harry the Nimbus 2000?</h4>
<p>
<label class="class-easyAnswers" for="h-q2-a1">A) Albus Dumbledore.</label>
<input id="h-q2-a1" name="h-q2" type="radio" value="a">
</p>
<p>
<label class="class-easyAnswers" for="h-q2-a2">B) Hagrid.</label>
<input id="h-q2-a2" name="h-q2" type="radio" value="b">
</p>
<p>
<label class="class-easyAnswers" for="h-q2-a3">C) Minerva McGonagall.</label>
<input id="h-q2-a3" name="h-q2" type="radio" value="c">
</p>
</div>
<div class="container">
<h4 class="class-easyQuestions">3. In the movie "The Philosopher's Stone", what is the name of the three-headed dog?</h4>
<p>
<label class="class-easyAnswers" for="h-q3-a1">A) Hedwig.</label>
<input id="h-q3-a1" name="h-q3" type="radio" value="a">
</p>
<p>
<label class="class-easyAnswers" for="h-q3-a2">B) Fluffy.</label>
<input id="h-q3-a2" name="h-q3" type="radio" value="b">
</p>
<p>
<label class="class-easyAnswers" for="h-q3-a3">C) Remus.</label>
<input id="h-q3-a3" name="h-q3" type="radio" value="c">
</p>
</div>
<div class="container">
<h4 class="class-easyQuestions">4. Was Voldemort the first wizard to make a Horcrux?</h4>
<p>
<label class="class-easyAnswers" for="h-q4-a1">A) True.</label>
<input id="h-q4-a1" name="h-q4" type="radio" value="a">
</p>
<p>
<label class="class-easyAnswers" for="h-q4-a2">B) False.</label>
<input id="h-q4-a2" name="h-q4" type="radio" value="b">
</p>
</div>
<div class="container">
<h4 class="class-easyQuestions">5. What element do Harry and Voldemort's wands share?</h4>
<p>
<label class="class-easyAnswers" for="h-q5-a1">A) Phoenix feather.</label>
<input id="h-q5-a1" name="h-q5" type="radio" value="a">
</p>
<p>
<label class="class-easyAnswers" for="h-q5-a2">B) Dragon heartstring.</label>
<input id="h-q5-a2" name="h-q5" type="radio" value="b">
</p>
<p>
<label class="class-easyAnswers" for="h-q5-a3">C) Unicorn hair.</label>
<input id="h-q5-a3" name="h-q5" type="radio" value="c">
</p>
</div>
<div class="containerWelcome">
<input type="submit" class="buttonResults" value="See results">
</div>
</form>
<div class="class-easyQuestions2" id="resultadosDificiles"></div>
</section>
<br>
<div class="containerPlayAgain">
<button class="buttonResults" onclick="location.href='index.html'">Play again</button>
</div>
<script src="dificiles.js"></script>
</body>
</html>