What is wrong with my code in 4/11?


#1
According to the instructions:In main.css, locate the .gallery-item class selector. Currently, it has a margin of 2px. Change the value to 20px.I have changed 2px to 20px,but the system still send me wrong warning massage.

That listed below is my code in main.css.What should I do to make it correct?

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 {
  border: 1px solid #000;
  text-align: center;
  padding: 30px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-item {
  margin: 20px;
  border: 5px solid #FFF;
}

.gallery-item .thumbnail {

}

/* 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

When I turn back to 2/11,and redo 2/11,3/11,and 4/11,unexpectedly,I pass the 4/11 exercise.Maybe it is a bug.


#3

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