Changes to leaderboard.scroll.pub

root
root
25 days ago
Initial commit
body.html
Changed around line 1
+
+

Leaderboard

+

Track the top performers in real-time.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
RankNameScore
+
+
+
+

Stay updated with the latest rankings.

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://leaderboard.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Leaderboard - Track the Best
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "e8a7690e-06ff-4223-9d82-328190d26c6f",
+ "object": "chat.completion",
+ "created": 1735326514,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nleaderboard.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://leaderboard.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Leaderboard - Track the Best\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

Leaderboard

\n

Track the top performers in real-time.

\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n
RankNameScore
\n
\n
\n
\n

Stay updated with the latest rankings.

\n
\n---style.css---\n:root {\n --primary-color: #4a90e2;\n --secondary-color: #f5f5f5;\n --text-color: #333;\n --border-color: #ddd;\n --shadow-color: rgba(0, 0, 0, 0.1);\n}\n\nbody {\n font-family: 'Arial', sans-serif;\n line-height: 1.6;\n margin: 0;\n padding: 0;\n color: var(--text-color);\n background-color: var(--secondary-color);\n}\n\nheader {\n background-color: var(--primary-color);\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\nheader h1 {\n margin: 0;\n font-size: 2.5rem;\n}\n\nheader p {\n margin: 0.5rem 0 0;\n font-size: 1.2rem;\n}\n\nmain {\n padding: 2rem;\n max-width: 800px;\n margin: 0 auto;\n}\n\n.leaderboard-container {\n background-color: white;\n border-radius: 8px;\n box-shadow: 0 4px 8px var(--shadow-color);\n overflow: hidden;\n}\n\ntable {\n width: 100%;\n border-collapse: collapse;\n}\n\nth, td {\n padding: 1rem;\n text-align: left;\n}\n\nth {\n background-color: var(--primary-color);\n color: white;\n}\n\ntr:nth-child(even) {\n background-color: var(--secondary-color);\n}\n\ntr:hover {\n background-color: #e0e0e0;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background-color: var(--primary-color);\n color: white;\n margin-top: 2rem;\n}\n\n@media (max-width: 600px) {\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1rem;\n }\n\n th, td {\n padding: 0.75rem;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n const leaderboardData = [\n { rank: 1, name: 'Alice', score: 950 },\n { rank: 2, name: 'Bob', score: 890 },\n { rank: 3, name: 'Charlie', score: 850 },\n { rank: 4, name: 'Diana', score: 820 },\n { rank: 5, name: 'Eve', score: 800 }\n ];\n\n const leaderboardBody = document.querySelector('#leaderboard tbody');\n\n leaderboardData.forEach(entry => {\n const row = document.createElement('tr');\n row.innerHTML = `\n ${entry.rank}\n ${entry.name}\n ${entry.score}\n `;\n leaderboardBody.appendChild(row);\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 244,
+ "completion_tokens": 838,
+ "total_tokens": 1082,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 244
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # leaderboard.scroll.pub
+ Website generated by DeepSeek from prompt: create a single web page application with a leaderboard.
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', () => {
+ const leaderboardData = [
+ { rank: 1, name: 'Alice', score: 950 },
+ { rank: 2, name: 'Bob', score: 890 },
+ { rank: 3, name: 'Charlie', score: 850 },
+ { rank: 4, name: 'Diana', score: 820 },
+ { rank: 5, name: 'Eve', score: 800 }
+ ];
+
+ const leaderboardBody = document.querySelector('#leaderboard tbody');
+
+ leaderboardData.forEach(entry => {
+ const row = document.createElement('tr');
+ row.innerHTML = `
+ ${entry.rank}
+ ${entry.name}
+ ${entry.score}
+ `;
+ leaderboardBody.appendChild(row);
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #4a90e2;
+ --secondary-color: #f5f5f5;
+ --text-color: #333;
+ --border-color: #ddd;
+ --shadow-color: rgba(0, 0, 0, 0.1);
+ }
+
+ body {
+ font-family: 'Arial', sans-serif;
+ line-height: 1.6;
+ margin: 0;
+ padding: 0;
+ color: var(--text-color);
+ background-color: var(--secondary-color);
+ }
+
+ header {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ header h1 {
+ margin: 0;
+ font-size: 2.5rem;
+ }
+
+ header p {
+ margin: 0.5rem 0 0;
+ font-size: 1.2rem;
+ }
+
+ main {
+ padding: 2rem;
+ max-width: 800px;
+ margin: 0 auto;
+ }
+
+ .leaderboard-container {
+ background-color: white;
+ border-radius: 8px;
+ box-shadow: 0 4px 8px var(--shadow-color);
+ overflow: hidden;
+ }
+
+ table {
+ width: 100%;
+ border-collapse: collapse;
+ }
+
+ th, td {
+ padding: 1rem;
+ text-align: left;
+ }
+
+ th {
+ background-color: var(--primary-color);
+ color: white;
+ }
+
+ tr:nth-child(even) {
+ background-color: var(--secondary-color);
+ }
+
+ tr:hover {
+ background-color: #e0e0e0;
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ background-color: var(--primary-color);
+ color: white;
+ margin-top: 2rem;
+ }
+
+ @media (max-width: 600px) {
+ header h1 {
+ font-size: 2rem;
+ }
+
+ header p {
+ font-size: 1rem;
+ }
+
+ th, td {
+ padding: 0.75rem;
+ }
+ }