nissmogt's picture
Create index.html
30f9e5d verified
raw
history blame
1.75 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Advanced Excuse Generator with Leaderboard</title>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<style>
body {
font-family: Arial, sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #f0f0f0;
}
h1 {
color: #333;
}
input, button {
margin: 10px 0;
padding: 5px;
}
#excuse-output {
background-color: #fff;
border: 1px solid #ddd;
padding: 10px;
margin: 10px 0;
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
}
</style>
</head>
<body>
<h1>Advanced Excuse Generator with Leaderboard</h1>
<div>
<input type="text" id="prompt" placeholder="What do you need an excuse for?">
<button onclick="generateExcuse()">Generate Excuse</button>
</div>
<div id="excuse-output"></div>
<h2>Leaderboard</h2>
<table>
<thead>
<tr>
<th>Excuse</th>
<th>Votes</th>
<th>Model</th>
<th>Settings</th>
<th>Actions</th>
</tr>
</thead>
<tbody id="leaderboard-body"></tbody>
</table>
<script src="index.js"></script>
</body>
</html>