forked from Aschen/coding-challenge-ia-solver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (46 loc) · 1.65 KB
/
Copy pathindex.html
File metadata and controls
51 lines (46 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Codingame worker</title>
<style>
h1 {
font-size: 24px;
color: #333;
text-align: center;
margin-top: 20px;
margin-bottom: 20px;
}
h2 {
font-size: 16px;
color: #666;
text-align: center;
margin-bottom: 20px;
}
button:hover {
cursor: pointer;
}
</style>
</head>
<body style="width: 300px">
<h1>Codingame Solver</h1>
<h2>(jaime la nature)</h2>
<div style="display: flex; align-items: center;">
<input
id="apiKey"
type="text"
style="border: 1px solid #ccc; padding: 10px; flex-grow: 1;"
placeholder="OpenAI API key"
/>
<button id="resetApiKey" style="background-color: #e0e0e0; color: black; border: none; padding: 10px; margin-left: 10px">Reset</button>
</div>
<p id="apiKeyStatus" style="color: red;"></p>
<div style="display: flex; align-items: center; margin-top: 10px;">
<button id="solveCoding" style="background-color: #4caf50; color: white; border: none; padding: 10px; margin-right: 10px">Coding Challenge</button>
<button id="solveQCM" style="background-color: #f44336; color: white; border: none; padding: 10px; margin-right: 10px">QCM</button>
<button id="solveGeneric" style="background-color: #2196f3; color: white; border: none; padding: 10px;">Generic</button>
</div>
<script type="module" crossorigin src="/index.js"></script>
</body>
</html>