Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Adding even more internet #2527

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions the_internet.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<html>
<style>
.background {
background-color: black;
}

.text-color {
color: green;
}

.the-internet-wrapper {
display: grid;
align-items: center;
height: 100%;
overflow: hidden;
}

.the-internet {
width: 99vw;
overflow: hidden;
text-align: center;
font-family: 'Courier New', Courier, monospace;
font-size: 84px;
}

</style>

<head>

<script type="text/javascript">
function randString(len) {
"use strict";
var i, out="", all ="ABCDEF GHIJKL MNOPQ RSTUVWX YZ01234 56789";
for (i = 0; i < len; i++) {
out += all.charAt(Math.floor(Math.random() * all.length));
}
return out;
}

function main() {
"use strict";
var $_inter = setInterval(function() {
var text = document.getElementById("text");
text.innerHTML = randString(text.innerHTML.length);
}, 100);
}

window.onload = window.setTimeout(main, 1000);
</script>
</head>

<body class="background text-color">
<div class="the-internet-wrapper">
<div id="text" class="the-internet">
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET
THE INTERNET</div>
</div>
</body>

</html>