Tell us what’s happening:
so im going through the course again and doing over some topics a second time, previously passed this one but since then, i cant pass this for some reason. bug? my first run up was correct, so a found on the forum. but, wont pass in the course. copy paste answer, (which is same code still) still no pass.
no sure what changed… ideas?
Your code so far
<style>
p {
font-size: 20px;
}
/* Add media query below */
</style>
@media (max-height: 800px){
p {
font-size: 10px;
}
}
<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>
@media (max-height: 800px){
p {
font-size: 10px;
}
}
**Your browser information:**
User Agent is: <code>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36</code>.
**Challenge:** Create a Media Query
**Link to the challenge:**
https://www.freecodecamp.org/learn/responsive-web-design/responsive-web-design-principles/create-a-media-query