-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGottem.html
More file actions
45 lines (44 loc) · 1.26 KB
/
Copy pathGottem.html
File metadata and controls
45 lines (44 loc) · 1.26 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
35
36
37
38
39
40
41
42
43
44
45
<html>
<head>
<title>Gottem</title>
<link rel="stylesheet" href="Style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<style>
body {
margin: 1%!important;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
<body>
<script>
var TrollMessage = "Did you know that farts can really really smell?";
var i = 0;
var speed = 100;
function ShowThem() {
if (i < TrollMessage.length) {
$("#Troll").append(TrollMessage.charAt(i));
i++;
setTimeout(ShowThem, speed)
}
}
$(document).ready(function(){
$("#BestButton").mouseover(function(){
$(this).html("Hehe Penisface");
});
$("#BestButton").mouseout(function(){
$(this).html("Ask away!");
});
$("#BestButton").click(function(){
ShowThem();
});
});
</script>
<div>
<p class="BoringText">What are the typical thoughts of a kid?</p>
<p class="TrollText" id="Troll"> </p>
<button type="button" id="BestButton" class="btn btn-primary">Ask away!</button>
</div>
</body>
</html>