-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
171 lines (98 loc) · 3.9 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
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Google</title>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body class="mk-bod">
<div class="mpsk container">
<div class="mkli">
<div class="top-ext"><a href="">Gmail</a></div>
<div class="top-ext"><a href="">Images</a></div>
<div>
<svg class="gb_Ve" height='24.5' width='24.5' focusable="false" viewBox="0 0 24 24"><path d="M6,8c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM12,20c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM6,20c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM6,14c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM12,14c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM16,6c0,1.1 0.9,2 2,2s2,-0.9 2,-2 -0.9,-2 -2,-2 -2,0.9 -2,2zM12,8c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM18,14c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM18,20c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2z"></path></svg>
</div>
<div><img src="images/userden.png" class="plat-img"></div>
</div>
</div>
<main class="main-content">
<div class="xl-p">
<div>
<div class="brand-div">
<img src="images/google-img.png">
</div>
<div class="lao">
<div class="search-barr ">
<span class="svg-cont search-icon plas" style="box-shadow: none; border-color: none;">
<!-- svg for search -->
<svg focusable="false" height='19.65' style="box-shadow: none; border-color: none;" width='19.65' xmlns="http://www.w3.org/2000/svg" fill='#9aa0a6' viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path></svg>
</span>
<input type="search-bar" name="" class="search-in" id="search" autocomplete="off" onkeyup="keyFunction()">
<span class="cancle-x plas" style="box-shadow: none; border-color: none;" ><svg focusable="false" class='noko' fill='#9aa0a6' id="con" style='box-shadow: none;' height='19.65' width='19.65' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></svg></span>
</div>
</div>
<div class="loi">
<center class=''>
<input type="submit" value="Google Search" class="gott" name="">
<input type="submit" value="I'm Feeling Lucky " class="gott" name="">
</center>
</div>
<div class="top-exto">
<div>
<span class="losy">Google offered in: </span>
<span class="loscs">
<a href="">Hausa</a>
<a href="">Igbo</a>
<a href="">Ebe Yoruba</a>
<a href="">Nigeria Pidgin</a>
</span>
</div>
</div>
</div>
</div>
<!-- country -->
</main>
<footer>
<div class="nija">
<div>Nigeria</div>
</div>
<style type="text/css">
.links a{
text-decoration: none;
color: rgba(0,0,0,.54)
}
</style>
<div class="top-exi">
<div class="about-vart" >
<div class="links"><a href="#">About</a></div>
<div class="links"><a href="#">Advertising</a></div>
<div class="links"><a href="#">Business</a></div>
<div class="links"><a href="#">How Search works</a></div>
</div>
<div class="cabon">
<img src="images/carbon.png" class="borno">
<div class="carbon-text">Carbon neutral since 2007</div>
</div>
<div class="priva-term">
<div class="links"><a href="#">Privacy</a></div>
<div class="links"><a href="#">Terms</a></div>
<div class="links"><a href="#">Settings</a></div>
</div>
</div>
</footer>
<script type="text/javascript">
function keyFunction() {
var searchInput = document.getElementById('search');
var searchClearIcon = document.getElementById('con');
console.log("ex", searchInput.value);
if (searchInput.value === "") {
searchClearIcon.style.display='none';
}
else {
searchClearIcon.style.display='block'
}
}
</script>
</body>
</html>