-
Notifications
You must be signed in to change notification settings - Fork 0
/
withSomeLogic-slide7.html
58 lines (47 loc) · 2.02 KB
/
withSomeLogic-slide7.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
<!DOCTYPE html>
<html>
<head>
<title>The Map</title>
<link href="style.css" rel= "stylesheet" type="text/css">
</head>
<body>
<h1>This Map is of the volcanoes</h1>
<h2> Let's see Rwanda Volcanoes</h2>
<p>Pay attention to the beauty of it.
<img src="volcanoes.jpg" alt= "volcano image here" width="450" height="300">
</p>
<p>Oh there are gorillas too. If this ain't beauty, i dont kno what is.</p>
<p>
<!-- the src attribute as well to give like the link to the image.-->
<img src="gorillas live!.jpg" alt= "volcano image here" width="450" height="300">
</p>
<p>For more information visit:
<!-- the href is called the attribute which is put inside the
opening tag. -->
<a href = "https://www.volcanoesparkrwanda.org/"> Volcanoes Park Rwanda.</a>
</p>
<!--We added a new div which is like a container of a specific
content on our page. We will have our video here.-->
<p>To show out of sync. and fix</p>
<p id = "demo1"> </p>
<button type="button"
onclick= "document.getElementById('demo1').innerHTML = Date()">
Show Time</button>
<p id="demo2"> Other stuff?</p>
<button type="button" onclick= "myFunction()"> New Paragraph </button>
</p>
<p id="optionalP">
<iframe id="video" src="showLess.html" width=400 height = 50>
</iframe>
</p>
<button type="button" onclick= "showMore()"> Show more </button>
<button type ="button" onclick= "showLess()"> Show less</button>
<!-- Some javascript that shows how one can add logic to the website. -->
<script>
function myFunction() {
v = document.getElementById("demo2");
v.insertAdjacentHTML("afterend", "<p>You can add them here.</p>");
}
</script>
</body>
</html>