Help on media query

Help on media query
0

#1

Help me to check where’s been wrong,
the task is: to add a media query, so that the p tag has a font-size of 10px when the device’s height is less than or equal to 800px.

And here is my code:

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

Appreciated if anyone can correct the code


#2

I don’t see any error in the code. I was able to pass the challenge using the code that you have written.


#3

Yeah, that’s so weird, thanks man