Complete the Media Query
Fill in the Blank Easy
Question
Fill in the blank to apply styles on screens up to 600px wide.
Code
@media (___: 600px) {
.menu { display: none; }
}
Hint
We want styles to apply when the width is at most 600px.
Explanation
max-width: 600px means the styles apply when the viewport width is 600px or less. This is the standard way to target mobile devices in a desktop-first approach. For mobile-first, you would use min-width instead.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.