-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinvent.html
40 lines (37 loc) · 1.44 KB
/
invent.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
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<title>Game Manager</title>
<link rel="stylesheet" href="slytre.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<link rel="shourtcut icon" type="image/png" href="favicon.ico">
</head>
<body>
<header>
<i class="fa-solid fa-gamepad"></i>
<span>My Games<span>
<ul>
<li><a href="D:/Website/site.html">Main Site</a></li>
<li><a href="snake/index.html">Snake</a></li>
<li><a href="pong/index.html">Pong</a></li>
<li><a href="space-invaders/index.html">Space Invaders</a></li>
<li><a href="asteroids/index.html">Asteroids</a></li>
<li><a href="flappy/index.html">Flappy Bird Remake</a></li>
</ul>
</header>
<main>
<p>Get Started with a very special game!</p>
<button><style href>a {text-decoration: none}</style><style href>a {color: white}</style><a href="honestlygaming.github.io\main\somethingspecial/index.html">Start Playing a very special game!</a></button>
</body>
</html>
<script type="text/javascript">
document.addEventListener("mousemove", parallax);
function parallax(e){
document.querySelectorAll(".object").forEach(function(move){
var moving_value = move.getAttribute("data-value");
var x = (e.clientX * moving_value) / 250;
var y = (e.clientY * moving_value) / 250;
move.style.transform = "translateX(" + x + "px) translateY(" + y + "px)";
});
}
</script>