-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (52 loc) · 2.77 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3PN5MN94W2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-3PN5MN94W2');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>AI coding helper</title>
<link rel="icon" href="icon.png">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="logo">
<h1><span style="color: #ffffff;">AI</span><span style="color: #ff0000;"> coding helper</span></h1>
</div>
<div class="menu">
<div class="menu-item" style="margin-top: 10px;">
<input type="radio" name="type" value="question" id="question" checked>
<label for="question" style="color:white">Programming question</label>
</div>
<div class="menu-item" style="margin-top: 10px;">
<input type="radio" name="type" value="explenation" id="explenation">
<label for="explenation" style="color:white;">Code explenation</label>
</div>
<div class="menu-item" style="margin-top: 10px;">
<input type="radio" name="type" value="error" id="error">
<label for="error" style="color:white">Error solver</label>
</div>
<div class="menu-item" style="margin-top: 10px;">
<input type="radio" name="type" value="fix_bugs" id="fix_bugs" disabled>
<label for="fix_bugs" style="color:grey;">Code edit & fix bugs (soon)</label>
</div>
</div>
<div class="input">
<textarea id="prompt" placeholder="Ask your question here" style="width: 493px; height: 150px; resize: vertical; margin-top: 10px; display: block;" spellcheck="false" class="javascript"></textarea>
<textarea id="code" placeholder="Explain your problem or what you want change in your code here" style="width: 493px; height: 75px; resize: none; margin-top: 10px; display: none;" spellcheck="false"></textarea>
<button id="generate" style="width: 500px; margin-top: 10px; background-color: #ff0000ee; color: #fffffffd; font-weight: bold;" title="ctrl + enter">Submit</button><span id="loading" style="display: none;">Loading...</span>
</div>
<div class="output">
<textarea id="result" placeholder="The results will appear here" readonly style="width: 500px;"></textarea>
</div>
</div>
<script src="script.js"></script>
</body>
</html>