-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (38 loc) · 1.34 KB
/
Copy pathindex.html
File metadata and controls
40 lines (38 loc) · 1.34 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
<!DOCTYPE html>
<html>
<head>
<title>Epic Repository Website</title>
<style>
body {
background-color: black;
}
</style>
</head>
<body>
<h1 id="heading">Welcome to the 7 seas!</h1>
<p style="color:Yellow;">This is my EPIC repo!</p>
<p style="color:yellow;">Add this to cydia:</p>
<a id="paragraph" href="https://aavvironalex.github.io/AlexVsCydiaRepo/"> https://aavvironalex.github.io/AlexVsCydiaRepo/</a>
<p style="color:yellow;">Check out my website.</p>
<a id="paragraph" href="https://EarthMapsPictures.weebly.com/"> EarthMapsPictures Website</a>
<script>
// array of text colors
var colors = ["red", "green", "blue", "purple", "orange"];
var index = 0;
// change text color every 3 seconds
setInterval(function() {
var heading = document.getElementById("heading");
var paragraphs = document.getElementsByClassName("paragraph");
var links = document.getElementsByTagName("a");
heading.style.color = colors[index];
for (var i = 0; i < paragraphs.length; i++) {
paragraphs[i].style.color = colors[index];
}
for (var i = 0; i < links.length; i++) {
links[i].style.color = colors[index];
}
index = (index + 1) % colors.length;
}, 500);
</script>
</body>
</html>