-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (67 loc) · 1.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="How many people have your name in Brazil?">
<link rel="icon" type="image/x-icon" href="/brazil.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BRnames</title>
</head>
<body>
<script src="/scripts.js"></script>
<style>
* {
background-color: #1F3D3D;
font-family: Arial, Helvetica, sans-serif;
color: #8FFFFF;
}
.main {
display: block;
margin-left: 10%;
margin-right: 10%;
text-align: center;
}
#data {
font-size: xx-large;
}
#high {
color: yellow;
}
input, button {
border-radius: 30px;
border-color: #8FFFFF;
}
button {
margin: 10px;
padding: 15px;
}
table {
width: 80%;
margin-left: 10%;
margin-right: 10%;
text-align: center;
border-color: aqua;
}
tr, td {
border: none;
}
</style>
<div class="main">
<h1>How many people have your name in Brazil?</h1>
<br />
<input type="text" name="username1" id="username1" />
<br />
<button onclick="getData()">Let's see!</button>
</div>
<div class="main">
<p id="data"></p>
<div class="nerd">
<p id="nerd"></p>
<p id="decade"></p>
</div>
<h1>Top 20 most common brazilian names</h1>
<p id="ranking"></p>
<p>Data from IBGE (Instituto Brasileiro de Geografia e Estatística [EN: Brazilian Institute of Geography and Statistics])</p>
</div>
</body>
</html>