Create a Media Query Challenge

Tell us what’s happening:
Describe your issue in detail here.
I’m not sure what I’m doing wrong here? It’s the exact same code from the “get help” video, but the challenge is still marking me wrong ://///

  **Your code so far**

<style>
p {
  font-size: 20px;
}



@media (max-height: 800px) { 
  p {
    font-size: 10px;
  }
}

</style>

<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus quis tempus massa. Aenean erat nisl, gravida vel vestibulum cursus, interdum sit amet lectus. Sed sit amet quam nibh. Suspendisse quis tincidunt nulla. In hac habitasse platea dictumst. Ut sit amet pretium nisl. Vivamus vel mi sem. Aenean sit amet consectetur sem. Suspendisse pretium, purus et gravida consequat, nunc ligula ultricies diam, at aliquet velit libero a dui.</p>

Link to the challenge:

Your code passes the test for me. What part of the test does not pass and what is the error? Maybe it is a browser issue?

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