Test on code not working

Test on code not working
0

#1

HI,
I am on challenge “Responsive Web Design Principles: Create a Media Query”. I input my code and it keeps telling me I have it wrong. The message I am getting is:
// running tests
Your p element should have the font-size of 10px when the device height is less than or equal to 800px.
// tests completed

I have run my code several times and checked it against the hint but I keep getting that message. I don’t know what to do. My code is:

/* Add media query below */
@media (max-height: 800px){
p {
font-size: 10px;
}
}

Thank you


#2


Maby this will help?


#3

Thank you for that info. I tried doing the same thing as the solution but it still won’t pass the test