Skip to content

Commit 47c7c53

Browse files
author
Anass Rach
committed
Adding a footer to the quiz page!
1 parent 0d86cbb commit 47c7c53

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

java21-quiz.html

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,13 @@
156156
margin-top: 30px;
157157
padding: 20px 0;
158158
border-top: 1px solid #eee;
159+
gap: 15px;
160+
}
161+
162+
.controls .left-controls,
163+
.controls .right-controls {
164+
display: flex;
165+
gap: 10px;
159166
}
160167

161168
.btn {
@@ -168,6 +175,7 @@
168175
transition: all 0.3s ease;
169176
text-transform: uppercase;
170177
letter-spacing: 0.5px;
178+
white-space: nowrap;
171179
}
172180

173181
.btn-primary {
@@ -268,6 +276,30 @@
268276
color: #6c757d;
269277
margin-bottom: 30px;
270278
}
279+
280+
.results .btn {
281+
margin: 0 10px;
282+
}
283+
284+
.quiz-footer {
285+
background: #f8f9fa;
286+
padding: 20px 30px;
287+
border-top: 1px solid #e1e8ed;
288+
text-align: center;
289+
color: #666;
290+
font-size: 0.9em;
291+
}
292+
293+
.quiz-footer a {
294+
color: #667eea;
295+
text-decoration: none;
296+
font-weight: 500;
297+
transition: color 0.3s ease;
298+
}
299+
300+
.quiz-footer a:hover {
301+
color: #764ba2;
302+
}
271303

272304
@media (max-width: 768px) {
273305
body {
@@ -282,6 +314,21 @@
282314
flex-direction: column;
283315
gap: 15px;
284316
}
317+
318+
.controls .left-controls,
319+
.controls .right-controls {
320+
width: 100%;
321+
justify-content: center;
322+
}
323+
324+
.btn {
325+
flex: 1;
326+
min-width: 120px;
327+
}
328+
329+
.quiz-footer {
330+
padding: 15px 20px;
331+
}
285332
}
286333
</style>
287334
</head>
@@ -322,6 +369,14 @@ <h2>Quiz Complete!</h2>
322369
Study Flashcards </button>
323370
</div>
324371
</div>
372+
373+
<div class="quiz-footer">
374+
Found an issue or want to contribute?
375+
<a href="https://github.com/Anasss/java21docCards/tree/main" target="_blank">
376+
Send feedback or contribute on GitHub
377+
</a>
378+
</div>
379+
325380
</div>
326381

327382
<script>

0 commit comments

Comments
 (0)