forked from ToniSewell/escape-room
-
Notifications
You must be signed in to change notification settings - Fork 0
/
about-us.html
70 lines (63 loc) · 3.06 KB
/
about-us.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Escape Room | About Us</title>
<link rel="stylesheet" href="./styles/puzzle-page-default-style.css">
<link rel="stylesheet" type="text/css" href="./styles/about-us.css">
<link rel="stylesheet" href="./styles/default-style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Anta&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Lexend:[email protected]&display=swap" rel="stylesheet">
<link rel="icon" type="png" href="assets/backgrounds/DATA_Logo.png">
</head>
<body id="text">
<div class="header">
<div class="icons">
<a href="index.html"><i class="fa-solid fa-house"></i></a>
<p>Home</p>
</div>
<h1 id="heading-font">About Us</h1>
<div class="icons">
<a href="./accessibility/accessibility-page.html"><i class="fa-solid fa-universal-access"></i></a>
<p>Accessibility</p>
</div>
</div>
<div class="info_container">
<p>This activity is part of a series following the adventures of the Agents of Data and the Evil Vikings!</p>
<p>Try out more activities at: <a href="https://dataschools.education/escape/">Data Education in Schools</a></p>
</div>
<div class="info_container2">
<h3>Meet the team:</h3>
<div class="names">
<p>Cameron Donnelly</p>
<p>Ruben Lazell</p>
<p>Catalin Nanu</p>
<p>Bassam Qureshi</p>
<p>Daniel Zukovski</p>
</div>
</div>
<script>
var container = document.querySelector(".names");
if (container) {
var paragraphs = container.querySelectorAll("p");
// Ensure we have at least 3 paragraphs to swap
if (paragraphs.length >= 3) {
var first = paragraphs[0]; // First paragraph
var third = paragraphs[2]; // Third paragraph
// Randomly decide whether to swap the paragraphs
if (Math.random() < 0.5) { // 50% chance to swap
// Insert the first after the third (essentially swapping them)
container.insertBefore(first, third.nextSibling);
// Now move the third to the start (this completes the swap)
container.insertBefore(third, container.firstChild);
}
}
}
</script>
<script src="./scripts/cookies/accessibility-cookie.js"></script>
</body>
</html>