-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
72 lines (67 loc) · 2 KB
/
index.js
File metadata and controls
72 lines (67 loc) · 2 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
61
62
63
64
65
66
67
68
69
70
71
72
(function () {
new Typed('#console1', {
strings: [' echo hostname<br>'],
typeSpeed: 100,
showCursor: false
});
setTimeout(() => {
var x = document.getElementsByClassName("s1")[0];
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}, 2200);
new Typed('#console2', {
strings: ['^2320 echo education<br>'],
typeSpeed: 100,
showCursor: false
});
setTimeout(() => {
var x = document.getElementsByClassName("s2")[0];
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}, 4800);
new Typed('#console3', {
strings: ['^5000 ls<br>'],
typeSpeed: 100,
showCursor: false
});
setTimeout(() => {
var x = document.getElementsByClassName("s3")[0];
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}, 6300);
new Typed('#console4', {
strings: ['^7000 cat intro.txt <br>'],
typeSpeed: 100,
showCursor: false
});
setTimeout(() => {
var x = document.getElementsByClassName("s4")[0];
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}, 9000);
new Typed('#console5', {
strings: ['^9700 cat profile.txt<br>'],
typeSpeed: 100,
showCursor: false
});
setTimeout(() => {
var x = document.getElementsByClassName("s5")[0];
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}, 12500);
})();