Skip to content

Commit a11d305

Browse files
Update quiz.html
1 parent 0ebee4f commit a11d305

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

quiz.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@
1616
padding-bottom: 50px; /* Add padding to prevent content from being hidden by the fixed footer */
1717
box-sizing: border-box; /* Include padding in the element's total width and height */
1818
}
19-
19+
/* Styles for active navigation button */
20+
.active-nav-button {
21+
background-color: #0056b3; /* A slightly darker blue to indicate active state */
22+
color: white;
23+
border-bottom: 3px solid #f0f0f0; /* Add a subtle underline */
24+
}
2025
.quiz-form-wrapper {
2126
width: 90%; /* Adjust width for better responsiveness */
2227
max-width: 700px; /* Limit max-width for larger screens */
@@ -442,7 +447,7 @@ <h2 class="site-title">The Coders Club</h2>
442447
<div class="button-container">
443448
<button class="nav-button" onclick="window.location.href='index.html';">Home</button>
444449
<button class="nav-button" onclick="window.location.href='weeklycontent.html';">Weekly Content</button>
445-
<button class="nav-button" onclick="window.location.href='quiz.html';">Week 5 Quiz</button>
450+
<button class="nav-button active-nav-button" onclick="window.location.href='quiz.html';">Week 5 Quiz</button>
446451
<button class="nav-button" onclick="window.location.href='finalquiz.html';">Final Quiz</button>
447452
<button class="nav-button" onclick="window.location.href='leaderboard.html';">Leaderboard</button>
448453
<button class="nav-button" onclick="window.location.href='feedback.html';">Feedback</button>

0 commit comments

Comments
 (0)