-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (46 loc) · 2.12 KB
/
index.html
File metadata and controls
60 lines (46 loc) · 2.12 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Home | Data Project</title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="images/icontree.png"> <!-- Updated path -->
</head>
<body>
<ul id="navbar">
<li class="edge"><a href="index.html">Home</a></li>
<li><a href="credits.html">Credits</a></li>
<li><a href="sources.html">Sources</a><li> <!-- Fix missing closing tag -->
<li><a href="contact.html">Contact</a></li>
</ul>
<h1 class="font-1 headliner">Project Data visualization</h1>
<div class="inleiding">
<p>
Our website serves as a digital visualization of deforestation and its impact on nature. We transform numbers and data into icons and images.<br>
<br>
The data we utilized originates from various sources, all of which are conveniently linked on the source page of the website for your verification.<br>
<br>
In certain instances, we relied on rough estimates or a general consensus of the data, as agreed upon by the majority of sources.<br>
<a class="test" href="#bomen">down</a>
</p>
</div>
<div class="boom-container" id="bomen">
<img class="margin-img-1" src="images/Trees final.png" alt="Smiley face" height="620" width="1450"> <!-- Updated path -->
<input class="button-style" type="button" name="button" value="Forestation" onclick="location.href='boomplanting.html'">
<a class="test" href="#top">Up</a> <!-- New "Up" link -->
<input class="button-style2" type="button" name="button" value="Deforestation" onclick="location.href='ontbossing.html'">
</div>
<script>
window.onscroll = function() {myFunction()};
var navbar = document.getElementById("navbar");
var sticky = navbar.offsetTop;
function myFunction() {
if (window.pageYOffset >= sticky) {
navbar.classList.add("sticky")
} else {
navbar.classList.remove("sticky");
}
}
</script>
</body>
</html>