Problem with media query in "Technical Documentation Page" from Responsive Web Design

Hi, I’m having problems with this task:
image

I have this code:

@media (max-width: 900px){
   #navbar ul{
     padding: 0rem;
   }

   #navbar{
     position: absolute;
   }

   #main-doc{
     margin-top: 16rem;
     margin-left: 0rem;
     max-width: 100%;
   }

   img{
    max-width: 100%;
    height: auto;
    }
}

@media (max-width: 800px){
  #main-doc{
    background: lightblue;
  }
}

It works, but doesn’t complete :smiling_face_with_tear:
Any ideas? :upside_down_face:

Hi @victor_mendez !

Welcome to the forum!

Did you link your css to the html document?

<link rel="stylesheet" href="styles.css"> 

When I did that it passes for me

1 Like