Create Media query

hey all, i’m having trouble to pass this challange.
i use the exact code like the video and still can’t pass this.
can anyone help me how to pass this?

thank you.

Your code so far

p {
  font-size: 20px;

/* Only change code below this line */
@media (max-height:800px)
p {
/* 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 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15.

Challenge: Create a Media Query

Link to the challenge:

also the media query needs graph parenthesis to surround its content

hmm, what do you mean by that?
can you explain it more detail to me?

thank you :smile:

look at the example

@media (max-width: 100px) { /* CSS Rules */ }

you are missing the {} shown here

ohhh i see…
tried it and succeed.

many thanks to you :blush: