-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
54 lines (41 loc) · 1.67 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
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ChatGPT Front End</title>
<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500&family=Raleway:wght@500;600&display=swap" rel="stylesheet">
</head>
<body>
<section class="chat-section">
<h1>FAC ChatGPT</h1>
<h2>What would you like to ask us?</h2>
<form action="/" method="GET">
<label for="API-KEY">Add your API key here:</label>
<input name="API-KEY" type="text" id="API-KEY">
<label for="search">Add your query here:</label>
<textarea name="search" id="search" cols="30" rows="10"></textarea>
<button type="submit" id="submit-btn">Submit</button>
</form>
<div class="title-box">
<h2 class="system-response">System Response</h2>
</div>
<p id="search-item"></p>
<div class=" title-box view-previous-chat">
<button class="previous-chat-btn">View previous chat</button>
</div>
<div class="title-box">
<h2 class="previous-chat-title">Previous Chat</h2>
</div>
<div class="previous-chat">
</div>
</section>
<script src="script.js"></script>
</body>
<footer>
<p>Created by Fran, Nas, Egbie, Isaac & Ciaran</p>
</footer>
</html>