Html and css doubt

can’t find the error please help me out

I think you’re missing curly brackets after the media query rule. It should be like this

@media (max-height: 800px) {
  p {
    font-size: 10px;
  }
}

Hope it’ll work :slightly_smiling_face:

Reference: Responsive Web Design Media Queries

1 Like

thank u so much u are right i forget to put that.

1 Like