Tell us what’s happening:
your p element should have a font-size of 10 px
when the device is height is less than or equal to 800px Your code so far
<style>
p {
font-size: 20px;
}
/* Only change code below this line */
@media (max-height:800px)
p{
font-height: 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>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763.
I am having exactly the same problem. I have entered the core correctly, as far as I can seen, watched the video and checked the hints- still to no avail.
If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
Please use the “preformatted text” tool in the editor (</>) to add backticks around text.
type or paste code heretyle>
p {
font-size: 20px;
}
/* Only change code below this line */
@media (max-height: 800px)
p{
font-size: 10px;
}
/* Only change code above this line */
</style>