By Coding Create Google Search Page
HTML
<!doctype html>
<html>
<head>
<title>Google Homepage</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" media="screen" />
</head>
<body>
<header>
<nav>
<ul id="nav_bar">
<li class="nav-links" id="gmail"><a href="https://www.google.com">Gmail</a></li>
<li class="nav-links"><a href="#">Images</a></li>
<li id="sign_in"><a href="#">Sign In</a></li>
</ul>
</nav>
</header>
<div class="google">
<a href="#" id="google_logo"><img src="https://www.freeworldmaps.net/asia/india/india-physical.jpg" Width="300" height="350"/></a>
</div>
<div class="form">
<form id="frmSearch" method="get" />
<input type="text" id="txtSearch"
placeholder="Feel Free to Search" />
<div class= "buttons">
<input type="submit" value="Google Search" id="google_search">
<input type="submit" value="I'm Feeling Lucky" id="im_feeling_lucky">
</div>
<script type="text/javascript">
document.getElementById('frmSearch').onsubmit = function() {
window.location = 'http://www.google.com/search?q=' + document.getElementById('txtSearch').value;
return false;
}
</script>
<footer>
<ul class="footer-left">
<li><a href="https://ads.google.com/">Advertising</a></li>
<li><a href="#">Business</a></li>
<li><a href="#">About</a></li>
</ul>
<ul class="footer-right">
<li><a href="#">Privacy</a></li>
<li><a href="#">Terms</a></li>
<li><a href="#">Settings</a></li>
</ul>
</footer>
</body>
CSS
body {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
background: url(https://cdn.hipwallpaper.com/m/68/16/dEniIU.jpg);
}
header {
width: 100%;
}
ul {
list-style: none;
}
#nav_bar {
float: right;
}
#nav_bar li {
display: inline-block;
padding: 8px;
}
#nav_bar #sign_in {
background: #4887ef;
margin-right: 25px;
padding: 7px 15px;
border-radius: 3px;
font-weight: bold;
}
.nav-links {
color: #404040;
}
a {
text-decoration: none;
color: inherit;
}
li.nav-links a:hover {
text-decoration: underline;
}
#sign_in:hover {
box-shadow: 1px 1px 5px #999;
}
#sign_in {
color: #fff;
}
.google #google_logo {
text-align: center;
display: block;
margin: 0 auto;
clear: both;
padding-top: 112px;
padding-bottom: 20px;
}
.form {
text-align: center;
}
#txtSearch {
width: 450px;
line-height: 32px;
padding: 20px 10px;
}
.form #txtSearch {
padding: 0 8px;
}
#txtSearch:hover {
border-color: #e4e4e4;
padding-top: 0;
}
.buttons {
text-align: center;
padding-top: 30px;
margin-bottom: 300px;
}
footer {
background: #f2f2f2;
border-top: solid 2px #e4e4e4;
position: fixed;
bottom: 0;
padding-bottom: 0;
width: 100%;
}
footer ul li {
display: inline;
color: #666666;
font-size: 14px;
padding: 13px;
}
footer ul {
float: left;
padding: 1px;
}
footer ul a:hover {
text-decoration: underline;
}
.footer-right {
float: right;
}
@media screen and (max-width: 400px) {
li.nav-links a {
display: none;
}
#google_logo {
padding: 0;
}
.buttons {
display: none;
}
#form-search {
width: 80%;
}
footer {
bottom: 0;
}
footer ul {
float: none;
padding-bottom: 2px;
}
.footer-left {
text-align: center;
margin: auto;
padding-top: 10px;
}
.footer-right {
float: none;
text-align: center;
}
}
@media screen and (max-width: 565px) {
li.nav-links a {
display: none;
}
#google_logo {
padding: 0;
}
.buttons {
display: none;
}
#form-search {
width: 80%;
}
footer {
bottom: 0;
position:absolute;
bottom:0;
width:100%;
height:60px;
}
footer ul {
float: none;
padding-bottom: 2px;
}
.footer-left {
text-align: center;
margin: auto;
padding-top: 10px;
}
.footer-right {
float: none;
text-align: center;
}
}
OUTPUT

45 Comments
Wow wonderful
ReplyDeleteVery nice 🙏🙏🙏🙏
ReplyDeleteWonderful
ReplyDelete👌 👌 👌 👌 👌 👌👌 👌 👌 👌 👌 👌
ReplyDeleteKallu
ReplyDeleteVery nice
👌 👌 👌 👌 👌 👌
ReplyDeleteVery nice 😝😝
ReplyDeleteWonderful 😝😝😝😝
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDeleteWonderful
ReplyDelete
ReplyDeleteVery nice
fantastic
ReplyDeleteExcellent
ReplyDeletePerfect 👌
ReplyDeleteAwesome
ReplyDeleteAwesome
ReplyDeleteAttractive
ReplyDeleteAttractive
ReplyDeleteWonderful
ReplyDeleteSuperb
ReplyDeleteWonderful
ReplyDeleteVery Nice
ReplyDeleteVery Nice
ReplyDeleteGreat
ReplyDeleteNice Work Guys
ReplyDeleteNicely done
ReplyDeleteBrilliant
ReplyDeleteWow wonderful
ReplyDeleteWonderful
ReplyDeleteAwesome
ReplyDeletePerfect 👌
ReplyDeleteWonderful 🙏😊🙏😊🙏
ReplyDeleteGajab
ReplyDeleteAmazing creation
ReplyDeleteWow Great
ReplyDeleteSuperb
ReplyDeleteNice work
ReplyDeleteAttractive
ReplyDelete