Skip to content

Commit

Permalink
FINAL AND ULTIMATE ver.1
Browse files Browse the repository at this point in the history
  • Loading branch information
semjon00 committed Nov 29, 2019
1 parent 10730d6 commit fc4cb84
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 17 deletions.
15 changes: 1 addition & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,4 @@ Kasutaisin seda:
<br>alien4.png - https://www.alien-covenant.com/news/new-alien-game-explore-areas-the-universe-fans-havent-gotten-experience
<br><br>

Palun muutke LTAT.03.002 hindamisreegled ja võtke neid masendavaid lävendeid maha. Ma olen ok,
<span style="font-size:80%">ma olen ok, </span>
<span style="font-size:64%">ma olen ok, </span>
<span style="font-size:51%">ma olen ok, </span>
<span style="font-size:41%">ma olen ok, </span>
<span style="font-size:33%">ma olen ok, </span>
<span style="font-size:26%">ma olen ok, </span>
<span style="font-size:21%">ma olen ok, </span>
<span style="font-size:17%">ma olen ok, </span>
<span style="font-size:13%">ma olen ok, </span>
<span style="font-size:08%">ma olen ok, </span>
<span style="font-size:06%">ma olen ok, </span>
<span style="font-size:04%">ma olen ok, </span>
<span style="font-size:02%">ma olen ok, </span>
Palun muutke LTAT.03.002 hindamisreegled ja võtke neid masendavaid lävendeid maha.
4 changes: 4 additions & 0 deletions css/page_pleasehelp.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ h1 {
font-size: 80px;
z-index: 1;
}

span {
color: white;
}
12 changes: 9 additions & 3 deletions js/flicker.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
var t = 0;
var size= Math.pow(window.innerWidth * window.innerHeight, 0.5) / 2.5;

window.onload = function iteration()
{
t += 1;
size *= 0.99;

setTimeout(iteration, 40);
setTimeout(iteration, 5);

switch(t%3)
var stri = (((Math.random() * 2) | 0) ? "I am ok, " : "it is fine, ")
var str = "<span style=\"font-size:" + (size | 0) + "%\">" + stri + "</span>"
document.getElementById('helphelp').innerHTML += str;

switch((t>>3)%3)
{
case 0:
document.getElementById("help").setAttribute("style", "color: red;");
Expand All @@ -18,6 +24,6 @@ window.onload = function iteration()
document.getElementById("help").setAttribute("style", "color: green;");
}

if (t == 31)
if (t == 31<<3)
window.location.replace("index.html");
}
1 change: 1 addition & 0 deletions page_pleasehelp.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
</head>
<body>
<h1 id="help">PLEASE HELP</h1>
<span id="helphelp"></span>
</body>
</html>

0 comments on commit fc4cb84

Please sign in to comment.