Responsive: Create a Media Query

While doing this exercise when I type the code in correctly, even double checking by going to w3schools…nothing happens. Would this be operator error? or a internal issue within freecodecamp itself???

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

Everytime I run the test the first two out of three…nothing happens at all.

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

  /* Only change code below this line */
  @media (min-height: 800px){
    p {
      font-size: 10px;
    }
  }
  /* Only change code above this line */
</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>

The challenge asks:

Add a media query, so that the p tag has a font-size of 10px when the device’s height is less than or equal to 800px .

I don’t think your media query is targeting it :slight_smile:

It isn’t, any suggestions? I followed the instructions originally and it didn’t so I posted here.

Changed min to max which did finally work.