-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (87 loc) · 1.79 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
<html>
<head>
<title>Welcome to the AatmTech</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
* {
margin:0;
padding:0;
}
body {
background-color: white;
background-image: url("pexels-scott-webb-305821.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
color:white;
}
.container {
height:100%;
display:flex;
justify-content:center;
align-items:center;
}
.center {
width:80%;
border-radius:15px;
text-align: center;
background-color: #000;opacity:0.6;
padding: 15px;
}
#search {
Width: 80%;
height: 30px;
border-radius: 5px;
margin:5px;
}
#submit {
margin:5px;
height: 30px;
padding:0 5px;
border-radius: 5px;
background-color: white;
}
#CounterVisitor {
display: block;
clear: both;
text-align: center;
color: #000;
bottom:0;
padding:10px;
}
</style>
</head>
<body>
<div class="container">
<div class="center">
<h1>AatmTech Search Engine</h1><br>
<form>
<input type="search" id="search" placeholder="Search the Web" required >
<input type="submit" id="submit" value="Search"><br><br>
<input type="radio" id="organic" name="stype" value="organic" checked>
<label for="organic">ORGANIC</label>
<input type="radio" id="paid" name="stype" value="paid">
<label for="paid">PAID</label>
<input type="radio" id="both" name="stype" value="both">
<label for="both">BOTH</label>
</form>
</div>
</div>
<div id="CounterVisitor">
Visitors:
</div>
<script>
var n = localStorage.getItem('on_load_counter');
if (n === null) {
n = 0;
}
n++;
localStorage.setItem("on_load_counter", n);
nums = n.toString().split('').map(Number);
//document.getElementById('CounterVisitor').innerHTML = '';
for (var i of nums) {
document.getElementById('CounterVisitor').innerHTML += '<span class="counter-item">' + i + '</span>';
}
</script>
</body>
</html>