Skip to content

Commit

Permalink
score
Browse files Browse the repository at this point in the history
  • Loading branch information
bhumikamehta910 committed Jan 25, 2024
1 parent 26652f2 commit acd3734
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 1 deletion.
1 change: 1 addition & 0 deletions QuickQuiz
Submodule QuickQuiz added at 11a36c
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1>Kviz</h1>

<!-- Score History Section -->
<div id="score-history">
<h2>Score History</h2>
<a href="score.html"></a>
<ul id="score-list"></ul>
</div>
</body>
Expand Down
84 changes: 84 additions & 0 deletions score.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Score History</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #f0f0f0;
}

h1 {
text-align: center;
color: #333;
}

table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

th, td {
border: 1px solid #ddd;
padding: 12px;
text-align: left;
}

th {
background-color: #f2f2f2;
}

tbody tr:nth-child(even) {
background-color: #f9f9f9;
}

tbody tr:hover {
background-color: #e0e0e0;
}
</style>
</head>
<body>

<h1>Score History</h1>

<table>
<thead>
<tr>
<th>Date</th>
<th>Player</th>
<th>Score</th>
</tr>
</thead>
<tbody>
<tr>
<td>2024-01-25</td>
<td>Player 1</td>
<td>1500</td>
</tr>
<tr>
<td>2024-01-24</td>
<td>Player 2</td>
<td>1200</td>
</tr>
<tr>
<td>2024-01-23</td>
<td>Player 3</td>
<td>1800</td>
</tr>
<tr>
<td>2024-01-22</td>
<td>Player 4</td>
<td>1350</td>
</tr>
<!-- Add more rows as needed -->
</tbody>
</table>

</body>
</html>

0 comments on commit acd3734

Please sign in to comment.