This commit is contained in:
Nathan 2025-12-08 20:59:42 +07:00
commit f6126fe911
3 changed files with 4 additions and 9 deletions

View File

@ -12,7 +12,6 @@ body {
color: white;
}
/* TOPBAR */
.topbar {
display: flex;
justify-content: space-between;
@ -44,7 +43,6 @@ body {
font-weight: bold;
}
/* TITLE */
.title {
text-align: center;
font-size: 32px;
@ -55,7 +53,6 @@ body {
margin-top: -10px;
}
/* FILTER BUTTONS */
.filter-container {
margin: 20px;
display: flex;
@ -73,7 +70,6 @@ body {
font-weight: bold;
}
.filter-btn.active {
background: white;
color: #000000;
@ -121,7 +117,7 @@ thead {
}
.card h2 {
color: white;
color: rgb(255, 0, 0);
}
</style>

View File

@ -32,7 +32,7 @@
</div>
<div class="actions">
<button id="leaderboardBtn" class="btn gold">🏆 Leaderboard</button>
<button id="leaderboardBtn" class="btn gold" onclick="window.location.href='leaderboard.html'">🏆 Leaderboard</button>
<button id="logoutBtn" class="btn gray">🚪 Logout</button>
</div>
</header>

View File

@ -7,9 +7,8 @@ function selectStage(stage) {
window.location.href = "gameboard-hard.html";
}
}
document.getElementById("leaderboardBtn").addEventListener("click", () => {
alert("Menuju Leaderboard");
});
document.getElementById("leaderboardBtn").addEventListener("click", () => {window.location.href = "Leaderboard.html"});
document.getElementById("logoutBtn").addEventListener("click", () => {
alert("Logout berhasil!");