A Test Here
This commit is contained in:
@@ -9,4 +9,25 @@
|
|||||||
function yes(){
|
function yes(){
|
||||||
alert('this will be better soon');}
|
alert('this will be better soon');}
|
||||||
</script>
|
</script>
|
||||||
</p>
|
</p>
|
||||||
|
<script>
|
||||||
|
//This Stuff Under Here Is A Test
|
||||||
|
</script>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Game Menu</title>
|
||||||
|
<link rel="stylesheet" href="fanf.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="menu">
|
||||||
|
<h1>Game Menu</h1>
|
||||||
|
<button id="startButton">Start Game</button>
|
||||||
|
<button id="settingsButton">Settings</button>
|
||||||
|
<button id="exitButton">Exit</button>
|
||||||
|
</div>
|
||||||
|
<script src="fanf.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
body {
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 100vh;
|
||||||
|
background-color: #282c34;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu {
|
||||||
|
text-align: center;
|
||||||
|
background: #fff;
|
||||||
|
padding: 20px;
|
||||||
|
border-radius: 10px;
|
||||||
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
padding: 10px;
|
||||||
|
margin: 10px 0;
|
||||||
|
font-size: 16px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 5px;
|
||||||
|
cursor: pointer;
|
||||||
|
background: #61dafb;
|
||||||
|
color: #fff;
|
||||||
|
transition: background 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background: #21a1f1;
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
document.getElementById('startButton').addEventListener('click', function() {
|
||||||
|
alert('Starting the game...');
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
document.getElementById('settingsButton').addEventListener('click', function() {
|
||||||
|
alert('Opening settings...');
|
||||||
|
// Add your settings logic here
|
||||||
|
});
|
||||||
|
|
||||||
|
document.getElementById('exitButton').addEventListener('click', function() {
|
||||||
|
alert('Exiting the game...');
|
||||||
|
// Add your exit logic here
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user