forked from discoursedigital/Github-CoPilot-GPT3-Joker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (56 loc) · 2.12 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
<!-- Setup HTML page -->
<html>
<head>
<title>GPT3 Joker by Discourse Digital</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<!-- add title and description-->
<div class="jumbotron text-center">
<h1>GPT-3 Joke Generator</h1>
<p>A simple starter project for learning how to use GitHUb CoPilot. Here GPT-3 is used to generate jokes by famous comedians. This project was >80% written by GitHub CoPilot by supplying comments and accepting inline reccomendations by Copilot.</p>
<p>Read more on my <a href="https://discoursedigital.com/blog/digital-discourse-2">blog</a> or checkout my <a href="https://open.spotify.com/show/5949xvvULKnHc2obSUnvXb">podcast!</a></p>
<!-- button to generate joke-->
<button type="button" class="btn btn-primary btn-lg" id="jokerButton" data-toggle="joker" data-target="#jokes">
Generate Joke
</button>
<!-- add a loading spinner-->
<div class="spinner" id="loadingSpinner">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
<!-- add a share joke button-->
<button type="button" class="btn btn-primary btn-lg" id="shareButton" data-toggle="share" data-target="#share">
Share Joke
</button>
<!-- add a clear jokes button -->
<button type="button" class="btn btn-primary btn-lg" id="clearButton" data-toggle="clear" data-target="#jokes">
Clear Jokes
</button>
</div>
<!-- row wtih 3 columns-->
<div class="row">
<!-- column 1-->
<div class="col-sm-4">
</div>
<!-- column 2-->
<div class="col-sm-4 text-center" id="jokeContainer">
<ul id="jokes">
<li>This is some pretty funny stuff</li>
</ul>
</div>
<!-- column 3-->
<div class="col-sm-4">
</div>
</div>
</div>
<!-- add index.js script -->
<script src="./index.js"></script>
</body>
</html>