-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
63 lines (61 loc) · 1.36 KB
/
popup.html
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
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head>
<style>
body {
width: 300px;
padding: 15px;
font-family: Arial, sans-serif;
}
.form-group {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input {
width: 100%;
padding: 8px;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
background-color: #4285F4;
color: white;
border: none;
padding: 8px 12px;
border-radius: 4px;
cursor: pointer;
width: 100%;
}
button:hover {
background-color: #3367D6;
}
.instructions {
margin-top: 15px;
font-size: 12px;
color: #666;
}
</style>
</head>
<body>
<h2>Solveify</h2>
<div class="form-group">
<label for="apiKey">Groq API Key:</label>
<input type="password" id="apiKey" placeholder="Enter your Groq API key">
</div>
<button id="saveButton">Save Settings</button>
<div class="instructions">
<h3>How to use:</h3>
<ol>
<li>Highlight a question and its answer options</li>
<li>Right-click and select "Get answer"</li>
<li>The extension will analyze and highlight the correct answer</li>
</ol>
</div>
<script src="popup.js"></script>
</body>
</html>