-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7f9748
commit 7375d6f
Showing
15 changed files
with
692 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Whac-A-Mario</title> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
<body> | ||
<audio src="whack01-105535.mp3" id="whack-sound"></audio> | ||
<audio src="game-over-arcade-6435.mp3" id="game_over"></audio> | ||
<audio src="achievement-video-game-type-1-230515.mp3" id="start-button"></audio> | ||
<audio src="game-bg-music.mp3" id="bg-music" loop="true"></audio> | ||
<button id="mute"><i class="fa-solid fa-volume-xmark" id="sound-button"></i></button> | ||
<table id="leaderboard"> | ||
<tbody id="lbbody"> | ||
<tr> | ||
<th colspan="3">LEADERBOARD</th> | ||
</tr> | ||
<tr> | ||
<th>Position</th> | ||
<th>Name</th> | ||
<th>Score</th> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<div id="start-game"> | ||
<h1 id="title">Whac-A-Mario</h1> | ||
<h3 style="color: rgb(83, 4, 4);" id="warning">DON'T HIT THE PLANTS!</h3> | ||
<input type="text" id="username" placeholder="Enter Username: (Please enter same as last time, if any.)"/> | ||
<h2 id="difficulty-label"><b>Select Difficulty:</b></h2> | ||
<select id="difficulty"> | ||
<option value="easy" selected>Easy</option> | ||
<option value="medium">Medium</option> | ||
<option value="hard">Hard</option> | ||
<option value="impossible" style="background-color: red;">IMPOSSIBLE</option> | ||
</select><br><br><br> | ||
<button id="start">START</button><br> | ||
</div> | ||
<h5>Sound Effect from <a href="https://pixabay.com/?utm_source=link-attribution&utm_medium=referral&utm_campaign=music&utm_content=6435">Pixabay.</a> Website made purely using HTML, CSS, JS.</h5> | ||
<script src="script.js" type="module" defer></script> | ||
<script src="https://kit.fontawesome.com/19c60793e2.js" crossorigin="anonymous"></script> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.