-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (44 loc) · 800 Bytes
/
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>
<head>
<title>
Chatbot
</title>
<style>
table, th, td {
border:0px solid black;
text-align: center;
}
.centerv {
text-align: center;
color: maroon;
}
.center {
text-align: center;
}
h1 {
font-size: 50px;
}
h2 {
font-size: 40px;
}
</style>
</head>
<script>
var sites = [
'g0/g0.html',
'g1/g1.html'
];
function randomUrl() {
var i = parseInt(Math.random() * sites.length);
location.href = sites[i];
}
</script>
<body style="background-color:white;">
<h1 class=" centerv">Welcome to the UofSC Chatbot Service</h1>
<div style="text-align:center">
<h2>Click on the button to go to the chatbot</h2>
<input type = "button" href="#" onclick="randomUrl();" value = "Click Me">
</div>
</body>
</html>