Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added all
Empty file.
80 changes: 79 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,81 @@
h1 {
color: salmon;
color: gray;
text-align: center;
padding: 100px 0 0 0;
font-size: 40px;
font-family: Helvetica;
}

h2 {
color: gray;
font-size: 20px;
text-align: center;
padding: -150px;
font-family: Helvetica;
}

body {
background-color: gainsboro;
font-family: Helvetica;
}

div {
display: inline-block;
margin: 100px 100px 100px 100px;
position: relative;
text-align: center;
font-size: 25px;
font-weight: bold;
}

.SF1 {
text-align: center;
width: 200px;
height: 200px;
color: white;
}

.NY {
width: 200px;
height: 200px;
color: white;
}

.Lon {
width: 200px;
height: 200px;
color: white;
}

.Nap {
width: 200px;
height: 200px;
color: white;
}

.Son {
width: 200px;
height: 200px;
color: white;
}

.SF2 {
width: 200px;
height: 200px;
color: white;
}
button {
display: inline-block;
padding: 5px 50px 5px 50px;
position: relative;
top: 50px;
margin: auto;
right: 437px;
}

p {
position: absolute;
top: 100px;
left: 200px;
text-align: center;
}
47 changes: 45 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,52 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>Hello Front-End</title>
<title>Airbnb</title>
</head>
<body>
<h1>Hello Front-End</h1>
<h1>Meet Guidebooks</h1>

<h2>Discover hundreds of local spots recommended by Airbnb hosts</h2>


<div class=SF1>
<p>San Fransisco</p>
<img src="img/san-francisco.jpg"/>
</div>

<div class=NY>
<p>New York</p>
<img src="img/new-york.jpg"/>
</div>

<div class=Lon>
<p>London</p>
<img src="img/london.jpg"/>
</div>

<button>See All Guidbooks</button>

<h1>Just for the weekend</h1>

<h2>Discover new, inspiring places close to home</h2>

<div class=Nap>
<p>Napa</p>
<img src="img/napa.jpg"/>
</div>

<div class=Son>
<p>Sonoma</p>
<img src="img/sonoma.jpg"/>
</div>

<div class=SF2>
<p>San Fransisco</p>
<img src="img/san-francisco-2.jpg"/>
</div>

<button>See All Destinations</button>

</body>
</html>