-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
126 lines (102 loc) · 2.15 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
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
<!doctype html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.1.1/normalize.css">
<style>
html { height: 100%; }
body { min-height: 100%; }
html,
body { overflow-x: hidden; }
html { overflow-y: scroll; }
body {
font-family: Montserrat, Arial, sans-serif;
background: #141414;
}
p#nameplace {
font-size: 24px;
line-height: 1;
color: #fff;
margin: 0;
padding: 0;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
</style>
</head>
<body>
<p id="nameplace"></p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script>
$( document ).ready(function() {
var firstnames = ["Blax",
"Dork",
"Pleb",
"Anan",
"Boxel",
"Blex",
"Plux",
"Zaz",
"Zap",
"Floof",
"Scox",
"Koxel",
"Pling",
"Tix",
"Xotch",
"Yong",
"Ilix",
"Neex",
"Tonx",
"Zleb",
"Xelb",
"Ylap",
"Tox",
"Bleef",
"Zzin",
"Zox",
"Xoz",
"Toz",
"Yaz",
"Qeb",
"Ueb",
"Leb",
"Xetal",
"Zett",
"Zuelk",
"Tixon",
"Thfu"];
var lastnames = ["ons",
"ibbles",
"norps",
"blorps",
"gleeps",
"slorps",
"plorps",
"orps",
"eens",
"nobles",
"gebbles",
"onitrons",
"zons",
"tons",
"trons"];
var totalname = "";
totalname = "";
totalname = firstnames[Math.floor(Math.random() * firstnames.length)] + lastnames[Math.floor(Math.random() * lastnames.length)]
$("#nameplace").append("<h1>" + totalname + "</h1>");
});
</script>
</body>
</html>