-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
34 lines (34 loc) · 1.55 KB
/
index.html
File metadata and controls
34 lines (34 loc) · 1.55 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
<html>
<head>
<title>Browser Chat with AI</title>
<link rel="shortcut icon" href="https://snubbyowo.github.io/favicon.png">
<meta name="keywords" content="snubbyowo, snubby, snubs, web, html5, chromebook, template", "education", "javascript", "css", "learning">
<meta property="og:title" content="< SnubbyOWO >">
<link rel="stylesheet" href="css.css">
</head>
<body>
<h1>Browser Chat with AI using Javascript</h1>
<a style="z-index: 1; position: fixed; bottom: 0; right: 0; " href="https://github.com/SnubbyOWO/ai-using-javascript" target="_blank">
<img src="https://snubbyowo.github.io/pictures/git.png" width="90" height="90"/>
</a>
<div id="chat-window">
<!-- Add a wrapper element for each message -->
</div>
<!-- Add a form for selecting options -->
<form id="chat-form">
<!-- Add a dropdown menu for the options -->
<select class="1" id="chat-input">
<option id="1" value="greeting">Hello!</option>
<option id="2" value="question">What are you?</option>
<option id="3" value="goodbye">Bye!</option>
<option id="4" value="random quote">Can I have a random quote?</option>
<option id="5" value="time">What is the date?</option>
<option id="6" value="name">What is your name?</option>
</select>
<button type="submit">Send</button>
<button type="reset">Reset</button>
<button id="textto">TTS</button>
</form>
<script src="outcomes.js" type="text/javascript"></script>
</body>
</html>