Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
RasperRevision committed Feb 7, 2024
1 parent 5556014 commit 61412e7
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
<h1 class="welcome_title pt-5 m-0 text-center"></h1>
<div class="flex-grow-1">
<div class="games d-flex p-5 w-100 h-100">
<button class="game btn text-white fs-1 bg-danger" style="flex-basis: 100%">Matchup</button>
<button class="game btn text-white fs-1 bg-danger" style="flex-basis: 50%">Matchup</button>
<button class="game btn text-white fs-1 bg-danger" style="flex-basis: 50%">Quiz</button>
</div>
<div class="topics d-flex p-5 w-100 h-100">
<button class="topic btn text-white fs-1 bg-danger" style="flex-basis: 33.3%">Dynamics</button>
Expand All @@ -40,6 +41,18 @@ <h1 class="welcome_title pt-5 m-0 text-center"></h1>
<div class="elements"></div>
</section>

<section class="quiz d-none">
<div class="term"></div>
<div class="row">
<button class="btn"></button>
<button class="btn"></button>
</div>
<div class="row">
<button class="btn"></button>
<button class="btn"></button>
</div>
</section>

<script src="matchup.js"></script>

<script>
Expand Down Expand Up @@ -89,6 +102,8 @@ <h1 class="welcome_title pt-5 m-0 text-center"></h1>
document.querySelector(".match-up").classList.remove('d-none');
startStopwatch();
script("Music", topic_chosen);
} else if (game_chosen == "Quiz") {
document.querySelector(".quiz").classList.remove('d-none');
}
});
});
Expand Down

0 comments on commit 61412e7

Please sign in to comment.