-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
121 lines (120 loc) · 5.44 KB
/
index.html
File metadata and controls
121 lines (120 loc) · 5.44 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
<link href="styles.css" rel="stylesheet">
<title>Labyrinth Games</title>
<script>
let answer = document.querySelector('#surv')
document.addEventListener('DOMContentLoaded', function(){
document.querySelector('#surv').addEventListener('click', function() {
document.querySelector('#submit').addEventListener('click', function() {
document.querySelector('#feedback').innerHTML += ' Survival'
});
});
document.querySelector('#peng').addEventListener('click', function() {
document.querySelector('#submit').addEventListener('click', function() {
document.querySelector('#feedback').innerHTML += ' Penguin Plane'
});
});
document.querySelector('#bb').addEventListener('click', function() {
document.querySelector('#submit').addEventListener('click', function() {
document.querySelector('#feedback').innerHTML += ' Band Ball'
});
});
});
</script>
</head>
<body>
<header>
<h1>Welcome to Labyrinth Games</h1>
<nav>
<ul>
<li id="s"><a href="survival.html">Survival</a></li>
<li id="p"><a href="penguin_plane.html">Penguin Plane</a></li>
<li id="b"><a href="band_ball.html">Band Ball</a></li>
<li id="i"><a href="index.html">Main Page</a></li>
</ul>
</nav>
</header>
<main>
<h2>Our Games</h2>
<div>
<!--bootstrap is the img-thumbnail classs-->
<a href="survival.html"><img alt="A screenshot of Survival" class="img-thumbnail" src="https://img.itch.zone/aW1nLzEwMjMzMzEyLmpwZw==/original/9dfZ9l.jpg" width="250" height="400"></a>
<h3>Survival</h3>
<p>A game about intercepting missiles and dodging radiation</p>
<ul>
<li>Only available on windows PC</li>
<li>Completely for free</li>
<li>Only available at <a href="https://programmerpython.itch.io/survival">itch.io</a></li>
</ul>
</div>
<div>
<a href="penguin_plane.html"><img alt="A picture of a bombed out city with two planes flying above it" class="img-thumbnail" src="main-menu.png" width="200" height="200"></a>
<h3>Penguin Plane</h3>
<p>A game about shooting down enemy planes</p>
<ul>
<li>Only available on windows PC</li>
<li>Costs two US dollars</li>
<li>Soon to be available at itch and the windows app store</li>
</ul>
</div>
<div>
<img alt="A ball with scared eyes" class="img-thumbnail" src="OIG.jfif" width="200" height="200">
<h3>Band Ball</h3>
<p>A Band-Themed horror where the main character is a ball</p>
<ul>
<li>Only available on windows PC</li>
<li>Costs 10 US dollars</li>
<li>Soon to be available at itch and the windows app store</li>
</ul>
</div>
<p>Which games sound interesting to you </p>
<input type="checkbox" id="surv">
<label>Survival</label><br>
<input type="checkbox" id="peng">
<label>Penguin Plane</label><br>
<input type="checkbox" id="bb">
<label>Band Ball</label><br><br>
<button id="submit">Submit</button>
<p id="feedback">Your Interests: </p>
<table class="table table-striped">
<tr>
<th>Name</th>
<th>Cost</th>
<th>OS</th>
<th>Where to Download</th>
<th>Status</th>
</tr>
<tr>
<td>Survival</td>
<td>Completely Free</td>
<td>Only playable on PC</td>
<td>Itch.io</td>
<td>Released</td>
</tr>
<tr>
<td>Penguin Plane</td>
<td>2 US Dollars</td>
<td>Only playable on PC</td>
<td>Itch.io & window store</td>
<td>Finished</td>
</tr>
<tr>
<td>Band Ball</td>
<td>10 US Dollars</td>
<td>Only playable on PC</td>
<td>Itch.io & window store</td>
<td>In Development</td>
</tr>
</table>
</main>
<footer>
<p>Copyright © Labyrinth Games</p>
</footer>
</body>
</html>