-
Notifications
You must be signed in to change notification settings - Fork 0
/
salt_video_title_gen.html
151 lines (133 loc) · 4.49 KB
/
salt_video_title_gen.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE html>
<html>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-200337808-1">
</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-200337808-1');
</script>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css" type = "text/css">
<title>Pokemon Showdown Salt Video Title Generator</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link data-react-helmet="true" rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<style>
.footer {
position: fixed;
}
* {
box-sizing: border-box;
}
/* Create three equal columns that float next to each other */
.column {
float: left;
width: 33.3333333333%;
padding:10px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
.twocols {
float: left;
width: 50%;
padding:10px;
}
body {
font-family: "Raleway", sans-serif;
background-color:#242120;
color:white;
margin: 0;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body>
<div class="sidebar">
<a href="index.html">Home</a>
<a href="work.html">Our Work</a>
<a href="team.html">Team</a>
<a href="services.html">Services</a>
<a class="active" href="salt_video_title_gen.html">Special for Garbodor</a>
</div>
<article class="content">
<div style="background-color:#104497">
</div>
<h1 style="text-align:center;background-color:#104497;color:white;padding:10px">Pokemon Showdown Salt Video Title Generator</h1>
<p style="align:center;text-align:center">Click the button to generate a random salt video.</p>
<button style = "align:center" onclick="generator()" style="background-color:#104497;color:white;font-size:25px;padding:10px;text-decoration:underline;font-family:Raleway;">Click Me!</button>
<p id="demo"></p>
<script>
function generator() {
const persons = ["noob", "legendary spammer", "hacker", "crybaby"];
const description = ["cries tears of salt", "ragequits", "calls me a hacker", "threatens to report me"];
const noobs = ["EXTREMELY TOXIC", "TOXIC", "ANGRY", "TRASH", "INCOMPETENT", "CRAP", "SALTY"];
const blasts = ["destroys", "obliterates", "demolishes", "shreds", "does in", "wipes", "ends", "deletes", "tears apart"];
var pokemon = prompt("Please enter a Pokemon", "Luvdisc");
if (pokemon != null) {
const random = Math.floor(Math.random() * persons.length);
var randomperson = persons[random];
const descchoose = Math.floor(Math.random() * description.length);
var randomdesc = description[descchoose];
const actchoose = Math.floor(Math.random() * noobs.length);
var randnoob = noobs[actchoose];
const blastchoose = Math.floor(Math.random() * blasts.length);
var randblast = blasts[blastchoose];
document.getElementById("demo").innerHTML =
pokemon + " " + randblast + " " + randnoob + " " + randomperson + " who " + randomdesc + "!";
}
}
</script>
<hr>
<section>
<br/>
<div style = "text-align:center;align:center;float:center;margin:0 auto;display:block;" class="dropdown">
<button onclick="myFunction()" class="dropbtn" style="background-color:#104497;color:white;font-size:25px;padding:10px;text-decoration:underline;font-family:Raleway;">Contact Us Today!</button>
<div id="myDropdown" class="dropdown-content">
<a href="https://www.facebook.com/datstatconsulting/">Facebook</a>
<a href="mailto: datstat_consulting@aol.com">Email</a>
</div>
</div>
<script>
/* When the user clicks on the button,
toggle between hiding and showing the dropdown content */
function myFunction() {
document.getElementById("myDropdown").classList.toggle("show");
}
// Close the dropdown if the user clicks outside of it
window.onclick = function(event) {
if (!event.target.matches('.dropbtn')) {
var dropdowns = document.getElementsByClassName("dropdown-content");
var i;
for (i = 0; i < dropdowns.length; i++) {
var openDropdown = dropdowns[i];
if (openDropdown.classList.contains('show')) {
openDropdown.classList.remove('show');
}
}
}
}
</script>
<br/>
<p style = "text-align:center">
We will get in touch with you as soon as possible!
</p>
</section>
<hr>
<footer style="color:white;">
<p>This page made by DATSTAT Statistical and Research Consultancy</p>
<p>Balibago, Angeles, Pampanga</p>
</footer>
</article>
</body>
</html>