10 min. Webpage challenge
10 minutes challenge from sample web page create using the html and css:-
Html code:-
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="stylesheet.css">
<title></title>
</head>
<body>
<nav>
<div class="logo"> <h1>Data</h1> </div>
<div class="items">
<a href="div.html">Home |</a>
<a href="lk.html">Service |</a>
<a href="e.html">About |</a>
<a href="add.html">contact </a>
</div>
</nav>
<div class="body">
<h1>This page requires of implementation of code between user effective</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Expedita, ratione.</p>
<div class="btn">
<button>Get started</button>
</div>
<img src="3.png" alt="">
<div class="comment">
<input type="text" placeholder="Enter your comments...." required>
</div>
<div class="comments">
<button type="submit">send comments</button>
</div>
<div class="footer">
<p>copyright © action not copy this content
|html as page was responded
|css |javascript Lorem ipsum dolor sit amet, consectetur adipisicin Lorem ipsum dolor sit amet, consectetur adipisicing elit Lorem ipsum dolor sit amet, consectetur adipisicing elit. Perspiciatis, cumque.</p>
</div>
</div>
</body>
</html>
Css code:-
*{
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
nav{
background-color: green;
height: 50px;
justify-content: space-between;
display: flex;
align-items: center;
padding: 1px;
}
.logo{
padding: 10px;
font-style: italic;
font-weight: bold;
color: yellow;
}
.items a{
padding: 2px;
text-decoration: none;
color: white;
}
img{
height: 300px;
width: 410px;
padding-top: 50px;
}
.body{
background-color: yellow;
margin-top:0px;
}
.body p{
margin-right: 0px;
margin-top: 25px;
padding: 5px;
text-indent: 25px;
}
.body h1{
margin-top:0px;
margin-right: 150px;
margin-left: 10px;
margin-top:0px;
top: 70px;
padding-top: 50px;
}
.btn{
padding: 10px 25px 10px 25px;
margin-right: 25px;
}
button{
padding: 8px;
font-style: sans-serif;
border:none;
color: white;
font-size: 20px;
border-radius:25px;
background-color: #27ae60;
transition: background-color :0.5s;
}
button:hover {
background-color: #219653;
cursor:pointer;
}
.footer{
background-color: dimgray;
height: 150px;
margin-top: 100px;
}
.footer p{
padding: 20px;
color: white;
}
.comment{
margin-top: 10px;
padding: 20px;
}
.comment input{
padding:10px;
border-radius: 20px;
}
.comments button{
margin-left: 35px;
}
Comments
Post a Comment