-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
71 lines (64 loc) · 2.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sterling the voice chatbot</title>
<link rel="icon" type="image/jpg" href="./favicon.ico?" />
<meta property="og:title" content="Sterling the voice chatbot" />
<meta name="description" content="A simple yet charismatic voice chatbot" />
<meta
property="og:description"
content="A simple yet charismatic voice chatbot"
/>
<meta
property="og:image"
content="https://sterlingthevoicechatbot.netlify.app/pro-robot.png"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="robotCard">
<div class="robotContainer">
<img src="./pro-robot.png" class="robot" alt="Robot Picture" />
<button class="button">click to voice chat with me</button>
</div>
<button type="button" class="collapsible">see voice chat options:</button>
<div class="commandOptions">
<div class="box">
<p>Here's what you can ask Sterling:</p>
<p>Hello</p>
<p>How are you?</p>
<p>Who created you?</p>
<p>What is your name?</p>
<p>What are you doing?</p>
</div>
<div class="box">
<p>Tell me a joke</p>
<p>Sing me a song</p>
<p>Open Google</p>
<p>Open Facebook</p>
<p>Open YouTube</p>
<p>Open Gmail</p>
</div>
</div>
</div>
<script src="./app.js"></script>
<script>
var coll = document.getElementsByClassName("collapsible");
var i;
for (i = 0; i < coll.length; i++) {
coll[i].addEventListener("click", function () {
this.classList.toggle("active");
var content = this.nextElementSibling;
if (content.style.display === "block") {
content.style.display = "none";
} else {
content.style.display = "block";
}
});
}
</script>
</body>
</html>