Responsive Web Design Principles: Create a Media Query

Tell us what’s happening:

Your code so far

  p {
    font-size: 20px;
  /* Add media query below */
<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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

Link to the challenge:

hey :blush:
i suggest you take out that second .p and change your 1st p font-size to 10px
tell me if it works

The above is not entirely correct. Just remove the . from the p in the media query, and you should be good

Sup Cody
i tried that it and didnt work

Weird. It should. Changing the first p tag size would defeat the purpose of the media query challenge.

Never mind I see the issue

  1. Remove the . from the p in the media query
  2. Change it to max-height

i know but for some reason i passed by changing the 1st p

Just noticed. It should be max-height for the 800px or smaller. He has min-height

It work very well now thanks .