73

--

Landing page

Using knowledge from this class i created a landing page.

HTML:

<!DOCTYPE html>
<html>

<head>
<link href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/shift.css" rel="stylesheet">

<link rel="stylesheet" href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/bootstrap.css">
<link rel="stylesheet" href="main.css">

</head>

<body>
<div class="nav">
<div class="container">
<ul class="pull-left">
<li><a href="#">Travel</a></li>
<li><a href="#">Hotels&travel</a></li>
</ul>
<ul class="pull-right">
<li><a href="#">Sign Up</a></li>
<li><a href="#">Log In</a></li>
<li><a href="#">about us</a></li>
</ul>
</div>
</div>

<div class="jumbotron">
<div class="container">
<h1>Organise travel with your friends </h1>
<p>Stay in Hotels,Hostels, Airbnb and more with over 192 countries to choose from</p>
<a href="#">Learn More</a>
</div>
</div>
<div class="neighborhood-guides">
<div class="container">
<h2>No more stress just use our GroupPayer</h2>
<p>We arrange everything for you and friends within minutes</p>

<div class="row">

<div class="col-md-4">
<div class="thumbnail">
<img src="http://www.skydiveseb.com/data6/images/9.08beachjumpfx5.jpg" >
</div>
<div class="thumbnail">
<img src="http://goo.gl/an2HXY" >
</div>
</div>

<div class="col-md-4">
<div class="thumbnail">
<img src="http://goo.gl/Av1pac" >
</div>
<div class="thumbnail">
<img src="http://goo.gl/vw43v1" >
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">

--------------------------------------------------------

CSS: 

.nav a {
color: #5a5a5a;
font-size: 11px;
font-weight: bold;
padding: 14px 10px;
text-transform: uppercase;
}

.nav li {
display: inline;
}

.jumbotron {
background-image:url('https://www.colourbox.com/preview/10814155-group-of-smiling-young-women-with-tablets-on-beach.jpg');
height: 500px;
background-repeat: no-repeat;
background-size: cover;

}

.jumbotron .container {
position: relative;
top:100px;
}

.jumbotron h1 {
color: #fff;
font-size: 48px;
font-family: 'Shift', sans-serif;
font-weight: bold;
}

.jumbotron p {
font-size: 20px;
color: #fff;
}

.learn-more {
background-color: #f7f7f7;
}

.learn-more h3 {
font-family: 'Shift', sans-serif;
font-size: 18px;
font-weight: bold;
}

.learn-more a {
color: #00b0ff;
}

.neighborhood-guides{
background-color: #efefef;
border-bottom:1px solid #dbdbdb;

}

.neighborhood-guides h2{
color:#393c3d;
font-size:24px;
}

.neighborhood-guides p{
font-size:15px;
margin-bottom:13px;
}

Comments

Please sign in or sign up to comment.