Still stuck with the challenge

I have tried it but it is not working. Thanks

Your code so far

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

/* Only change code below this line */

/* Only change code above this line */

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0.

Challenge: Create a Media Query

Link to the challenge:

Hey there,

what do you think do these two lines mean? :slightly_smiling_face:

1 Like

Don’t change the codes outside this and try to add the requirements here. Reset the code and try again. You should not add min-height and max-height at the same time, only add one of them which makes the code pass the challenge.