-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (90 loc) · 3.55 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Own Chat-Gpt</title>
<!-- link css -->
<link rel="stylesheet" href="./css/style.css" />
</head>
<body id="scrollbar-style">
<section class="main-section">
<!-- Sidebar area Start -->
<!-- Menu button -->
<button class="menu-btn"><i class="fas fa-bars"></i></button>
<aside id="scrollbar-style">
<button class="close-menu-btn">X</button>
<div class="new-chat">
<h4>+ New Chat</h4>
</div>
<div class="prompt-history">
<h4>Prompt History</h4>
<!-- The prompt history will be show here dynamically by javascript -->
</div>
</aside>
<!-- Sidebar area End -->
<!-- Main area start -->
<main>
<div id="scrollbar-style" class="scrollbar conversation">
<h1>OWN CHAT-GPT</h1>
<!-- The conversation will show here dynamically by javascript -->
<section class="quick-example-prompt">
<h2>EXAMPLES</h2>
<div class="example-prompts">
<button onclick="handleExamplePrompt(event)" class="example-prompt">
Can you explain the concept of artificial intelligence and its
potential applications?
<i class="fa-regular fa-square-caret-right"></i>
</button>
<button onclick="handleExamplePrompt(event)" class="example-prompt">
What are some effective strategies for time management and
increasing productivity?
<i class="fa-regular fa-square-caret-right"></i>
</button>
<button onclick="handleExamplePrompt(event)" class="example-prompt">
Discuss the impact of climate change on the environment and
possible mitigation measures.
<i class="fa-regular fa-square-caret-right"></i>
</button>
<button onclick="handleExamplePrompt(event)" class="example-prompt">
Can you provide an overview of the history and significance of
the Industrial Revolution
<i class="fa-regular fa-square-caret-right"></i>
</button>
<button onclick="handleExamplePrompt(event)" class="example-prompt">
Explore the ethical implications of genetic engineering and its
potential benefits and risks
<i class="fa-regular fa-square-caret-right"></i>
</button>
<button onclick="handleExamplePrompt(event)" class="example-prompt">
Discuss the major theories of the origin of the universe and the
evidence supporting them.
<i class="fa-regular fa-square-caret-right"></i>
</button>
</div>
</section>
</div>
<form class="prompt-form">
<input
type="text"
name="userPrompt"
placeholder="Send a message
"
/>
<button type="submit" title="sent">
<i class="fa-solid fa-play"></i>
</button>
</form>
</main>
<!-- Main area end -->
</section>
<!-- link javascript -->
<script src="./js/config.js"></script>
<script src="./js/app.js"></script>
<!-- link font-awesome cdn -->
<script
src="https://kit.fontawesome.com/7333dd6925.js"
crossorigin="anonymous"
></script>
</body>
</html>