generated from nighthawkcoders/APCSP
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
35 lines (26 loc) · 768 Bytes
/
index.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
---
layout: home
search_exclude: true
image: images/logo.png
---
<div style="display: flex; justify-content: center; width: 100%; ">
<img src="https://github.com/paravsalaniwal/firstrepo/assets/111609656/ebead97a-f2cb-4378-a35e-7a8522502be5">
</div>
<body>
<div style="display: flex; flex-direction: column; width: 100%; justify-content: center; align-items: center;">
<h1 id="typewriter" style="text-align: center;">
</div>
</body>
<script>
var i = 0;
var txt = "Welcome to the best franchise in APCS history.";
var speed = 50;
function typeWriter(x) {
if (i <= txt.length) {
document.getElementById("typewriter").innerHTML = txt.substring(0, i)
i++;
setTimeout(typeWriter, speed);
}
}
typeWriter();
</script>