-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (42 loc) · 1.37 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
<!doctype html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<!--eerst style sheet van de fonts inladen -->
<link rel="stylesheet" href="https://use.typekit.net/ilr2sfa.css">
<link rel="stylesheet" href="./css/style.css">
<title>ATLAS OF ID</title>
</head>
<body>
<div class="container">
<div class="title">ATLAS OF ID 1/13</div>
<img src="./img/03kl.png"style="width:96%;">
<div class="bottom-right"><a href="survey.html">BACK</a></div>
<div class="o"><a href="index_bart.html">o</a></div>
<div class="top-right">Click the button<br/ > if you want to become the future model European.
<button onclick="myFunction()">Go</button>
<p id="demo"></p>
<script>
function myFunction() {
let text;
let favDrink = prompt("Can it think?", "Yes");
switch(favDrink) {
case "Yes":
text = "Excellent choice. Thinking is good for the soul.";
break;
case "No":
text = "I don't think so either! You seem hardly fit.";
break;
case "Maybe":
text = "Really? Are you sure you don't know?";
break;
default:
text = "I've never heard of that one.";
}
document.getElementById("demo").innerHTML = text;
}
</script>
</div>
</div>
</body>
</html>