Responsive Web Design Principles: Create a Media Query (Don't work)

Code has written perfectly, but code not work.

When doing “Run the Tests”, it’s failed & shown an error message:

Your p element should have the font-size of 10px when the device height is less than or equal to 800px.

Where is the problem??

  p {
    font-size: 20px;
  /* Add media query below */
  @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>

Link to the challenge:

there may be an issue with the minimum size allowed by your browser

you may need to check your browser settings

Hi @nurullah-git,
Was this problem solved at your end ??

Can we know which browser and version you are using to help you debug the same ?


@media (max-height: 800px) {
p {