-
Notifications
You must be signed in to change notification settings - Fork 0
/
quiz4.html
55 lines (45 loc) · 1.49 KB
/
quiz4.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
<!DOCTYPE html>
<html>
<head>
<title>question1</title>
<link href="https://fonts.googleapis.com/css?family=Bad+Script" rel="stylesheet">
<a href="quiz5.html">NEXT</a>
<link rel="stylesheet" type="text/css" href="quizfour.css">
</head>
<body>
<h1 class="h" style="font-family: 'Bad Script', cursive;
font-size:60px;"> Choose a Picture </h1>
<img src="assets/figur01.png" class="a">
<img src="assets/figur03.png" class="ab">
<button input type="button" id="demo" onclick="myFunction()">Analysis</button>
<div id="b" style="display:none;" class="c">
<p>
If you choose the circle, the left side of your brain is most dominant.</br>
This is because the circle has a simple</br>
and recognized shape that is easy to define.</br>
If you choose the second image,the right side of your brain is most dominant.</br>
The figure appears incomplete, without shape or direction. </br>
It offers the possibility of development.</br>
</p>
</div>
<button id = "b1" onclick="funct1()" class="buta">1</button>
<button id = "b2" onclick="funct2()" class="butb">2</button>
<script>
var a1 = document.getElementById('b1');
var a2 = document.getElementById('b2');
function myFunction(){
document.getElementById('b').style.display="block";
}
function funct1(){
document.cookie="l6="+parseFloat(12.5);
a1.disabled= true;
a2.disabled= true;
}
function funct2(){
document.cookie="r6="+parseFloat(12.5);
a1.disabled= true;
a2.disabled= true;
}
</script>
</body>
</html>