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

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.