Did you add a margin-top of 20px to the .gallery selector in main.css?


#1

i am on number 5 on boundaries and space but it says here Did you add a margin-top of 20px to the .gallery selector in main.css? can you see what i am ding wrong here is the code

html, body {
min-height: 100%;
display: flex;
flex-direction: column;
font-weight: 300;
line-height: 1.5;
}

body {
font-family: 'Lato', sans-serif;
background-image: url('https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-3/background.jpg');
background-position: center top;
background-size: cover;
margin: 0;
}

.page-title {
text-align: center;
font-weight: 100;
}

.page-description {
padding: 30px;
}
border: 1px solid #000;
text-align: center;
}

.gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top:20px;
}

.gallery-item {
margin-top: 20px;
margin: 20px;
}

.gallery-item .thumbnail {
border: 5px solid #FFF
}

/* FOOTER NAVIGATION */

nav {
background-color: #FFF;
}
nav li {
margin: 0;
padding: 0 10px;
}

nav ul {
display: inline;
}

.contact-btn {

}

.contact-btn a {
margin-right: 30px;
padding: 8px 18px;
border: 1px solid #204156;

}

.contact-btn a:active {
position: relative;
bottom: 2px;}

nav a {
height: 60px;
line-height: 60px;
color: #204156;
text-decoration: none;}


#2

Did you try refreshing the page ?


#3

yes i have tried to refresh the page.


#4

Try with a space

margin-top: 20px;

If it doesn't work then reset the lesson and try again


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.