Skip to content
Merged

ye #16

Show file tree
Hide file tree
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
9 changes: 7 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Monoton&display=swap" rel="stylesheet">
<style>
h1{
color: orange;
}
body {
background-image: url("fishe.jpg");
}
#kpop p{
font-family: 'Monoton', cursive;
font-size: 18px;
}
</style>
</head>
<body>
Expand All @@ -17,13 +22,13 @@ <h1> Hello World! I love kpop </h1>
</a>
<a href="https://okthisisepic.s-ul.eu/77JciCry">
<img src="https://okthisisepic.s-ul.eu/77JciCry" alt="" height="500" />
</a> <p>
</a> <div id="kpop"> <p>
#include "iostream" </p>
<p> using namespace std;</p>
<p> </p>
<p> int main(){</p>
<p> cout << "anime";</p>
<p> }</p>
<p> }</p></div>
<script src="index.js"></script>
</body>
</html>
19 changes: 19 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
var lazeez = false;
var osmows = false;
anime()


function anime() {
if(lazeez){
document.querySelector("h1").style.color = "orange";
Expand All @@ -11,5 +13,22 @@ function anime() {
lazeez = true;
}
}
let gibstick = document.querySelectorAll("#kpop p")
function anime2() {
if(osmows){
gibstick.forEach((leakytransistor) => {
leakytransistor.style.color = "orange";
})
osmows= false;
}
else{
gibstick.forEach((leakytransistor) => {
leakytransistor.style.color = "black";
})
osmows = true;
}
}
anime2()

setInterval(anime, 100);
setInterval(anime2, 50)