Responsive & Media Queries interview questions

18 Responsive & Media Queries questions from the CSS bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Sign up free to see every answer with its explanation and ask the AI tutor.

Practice Responsive & Media Queries free

1. What is media query?

Junior
  1. A.an HTML head element instructing mobile browsers to map the layout width to the device width
  2. B.a media feature detecting whether the user wants animations minimized for accessibility
  3. C.a media feature detecting whether the user has requested a light or dark interface
  4. D.a conditional rule applying styles only when device or viewport characteristics match

Answer + AI explanation with a free account

2. Which term means: "a conditional rule applying styles only when device or viewport characteristics match"?

Junior
  1. A.media query
  2. B.prefers-color-scheme
  3. C.mobile-first design
  4. D.prefers-reduced-motion

Answer + AI explanation with a free account

3. Which statement is correct?

Junior
  1. A.media query — a media feature detecting whether the user wants animations minimized for accessibility
  2. B.media query — a media feature detecting whether the user has requested a light or dark interface
  3. C.media query — an HTML head element instructing mobile browsers to map the layout width to the device width
  4. D.media query — a conditional rule applying styles only when device or viewport characteristics match

Answer + AI explanation with a free account

4. What is breakpoint?

Junior
  1. A.an approach defining base styles for small screens and layering enhancements via min-width queries
  2. B.a viewport width at which the layout is restyled to suit a different screen size
  3. C.a conditional rule applying styles only when device or viewport characteristics match
  4. D.an HTML head element instructing mobile browsers to map the layout width to the device width

Answer + AI explanation with a free account

5. Which term means: "a viewport width at which the layout is restyled to suit a different screen size"?

Junior
  1. A.media query
  2. B.breakpoint
  3. C.viewport meta tag
  4. D.prefers-reduced-motion

Answer + AI explanation with a free account

6. Which statement is correct?

Junior
  1. A.breakpoint — a media feature detecting whether the user has requested a light or dark interface
  2. B.breakpoint — a conditional rule applying styles only when device or viewport characteristics match
  3. C.breakpoint — a viewport width at which the layout is restyled to suit a different screen size
  4. D.breakpoint — a media feature detecting whether the user wants animations minimized for accessibility

Answer + AI explanation with a free account

7. What is mobile-first design?

Mid
  1. A.a conditional rule applying styles only when device or viewport characteristics match
  2. B.an HTML head element instructing mobile browsers to map the layout width to the device width
  3. C.a media feature detecting whether the user wants animations minimized for accessibility
  4. D.an approach defining base styles for small screens and layering enhancements via min-width queries

Answer + AI explanation with a free account

8. Which term means: "an approach defining base styles for small screens and layering enhancements via min-width queries"?

Mid
  1. A.prefers-color-scheme
  2. B.viewport meta tag
  3. C.mobile-first design
  4. D.media query

Answer + AI explanation with a free account

9. Which statement is correct?

Mid
  1. A.mobile-first design — an approach defining base styles for small screens and layering enhancements via min-width queries
  2. B.mobile-first design — a viewport width at which the layout is restyled to suit a different screen size
  3. C.mobile-first design — a conditional rule applying styles only when device or viewport characteristics match
  4. D.mobile-first design — a media feature detecting whether the user wants animations minimized for accessibility

Answer + AI explanation with a free account

10. What is prefers-color-scheme?

Mid
  1. A.a viewport width at which the layout is restyled to suit a different screen size
  2. B.a conditional rule applying styles only when device or viewport characteristics match
  3. C.an HTML head element instructing mobile browsers to map the layout width to the device width
  4. D.a media feature detecting whether the user has requested a light or dark interface

Answer + AI explanation with a free account

11. Which term means: "a media feature detecting whether the user has requested a light or dark interface"?

Mid
  1. A.breakpoint
  2. B.prefers-color-scheme
  3. C.mobile-first design
  4. D.viewport meta tag

Answer + AI explanation with a free account

12. Which statement is correct?

Mid
  1. A.prefers-color-scheme — a media feature detecting whether the user wants animations minimized for accessibility
  2. B.prefers-color-scheme — a viewport width at which the layout is restyled to suit a different screen size
  3. C.prefers-color-scheme — a media feature detecting whether the user has requested a light or dark interface
  4. D.prefers-color-scheme — an HTML head element instructing mobile browsers to map the layout width to the device width

Answer + AI explanation with a free account

13. What is prefers-reduced-motion?

Senior
  1. A.a media feature detecting whether the user wants animations minimized for accessibility
  2. B.a viewport width at which the layout is restyled to suit a different screen size
  3. C.an HTML head element instructing mobile browsers to map the layout width to the device width
  4. D.an approach defining base styles for small screens and layering enhancements via min-width queries

Answer + AI explanation with a free account

14. Which term means: "a media feature detecting whether the user wants animations minimized for accessibility"?

Senior
  1. A.prefers-color-scheme
  2. B.prefers-reduced-motion
  3. C.mobile-first design
  4. D.media query

Answer + AI explanation with a free account

15. Which statement is correct?

Senior
  1. A.prefers-reduced-motion — a conditional rule applying styles only when device or viewport characteristics match
  2. B.prefers-reduced-motion — an approach defining base styles for small screens and layering enhancements via min-width queries
  3. C.prefers-reduced-motion — a media feature detecting whether the user has requested a light or dark interface
  4. D.prefers-reduced-motion — a media feature detecting whether the user wants animations minimized for accessibility

Answer + AI explanation with a free account

16. What is viewport meta tag?

Mid
  1. A.a conditional rule applying styles only when device or viewport characteristics match
  2. B.a media feature detecting whether the user has requested a light or dark interface
  3. C.a media feature detecting whether the user wants animations minimized for accessibility
  4. D.an HTML head element instructing mobile browsers to map the layout width to the device width

Answer + AI explanation with a free account

17. Which term means: "an HTML head element instructing mobile browsers to map the layout width to the device width"?

Mid
  1. A.prefers-color-scheme
  2. B.prefers-reduced-motion
  3. C.breakpoint
  4. D.viewport meta tag

Answer + AI explanation with a free account

18. Which statement is correct?

Mid
  1. A.viewport meta tag — an HTML head element instructing mobile browsers to map the layout width to the device width
  2. B.viewport meta tag — a conditional rule applying styles only when device or viewport characteristics match
  3. C.viewport meta tag — a viewport width at which the layout is restyled to suit a different screen size
  4. D.viewport meta tag — a media feature detecting whether the user wants animations minimized for accessibility

Answer + AI explanation with a free account

Free to start

Answers, AI explanations, and a free readiness check

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. One full AI mock interview, scored like a real panel, is free when you sign up.

Practice Responsive & Media Queries free
24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers