What is responsive design? (A) Layouts adapt to different viewing conditions (B) One fixed width for all devices (C) A database system (D) A font format. Answer: A. Responsive layouts adapt to available space and user conditions.
Which meta tag supports the mobile viewport? (A) viewport meta tag (B) charset only (C) description only (D) author only. Answer: A. It configures the layout viewport for mobile browsers.
What does mobile-first mean? (A) Start with narrow-screen styles and enhance for wider screens (B) Build only for phones (C) Remove desktop styles (D) Use fixed pixel widths everywhere. Answer: A. Base styles target smaller layouts first.
Which rule helps images fit their container? (A) max-width: 100%; height: auto (B) width: 2000px (C) display: none (D) position: fixed. Answer: A. It prevents images from exceeding the available width while preserving proportions.
Which CSS feature can create fluid typography with limits? (A) clamp() (B) clear (C) float (D) outline. Answer: A. Clamp constrains a preferred value between a minimum and maximum.
What does a media query do? (A) Applies styles when specified conditions match (B) Creates HTML elements (C) Stores database records (D) Compresses all images. Answer: A. Media queries conditionally apply CSS.
Why test at multiple viewport sizes? (A) To identify layout and overflow problems (B) To change the programming language (C) To remove semantic HTML (D) To guarantee identical rendering. Answer: A. Different sizes reveal layout weaknesses.
Should responsive interfaces support keyboard navigation? (A) Yes (B) No (C) Only on desktop (D) Only in Safari. Answer: A. Responsive design should preserve accessibility.
What is a common problem with fixed-width pages? (A) Horizontal overflow on narrow screens (B) Automatic accessibility (C) Faster image loading always (D) Better flexibility. Answer: A. Fixed widths can exceed small viewports.
Which layout is naturally suited to a responsive card gallery? (A) CSS Grid (B) A fixed-width text paragraph only (C) Outline (D) Font weight. Answer: A. Grid can adapt the number and size of columns.
Key Takeaways
Start with a flexible, mobile-first foundation.
Use fluid media, constrained containers and responsive typography.
Test layout, accessibility and interaction across devices.
Rate this course
No ratings yet — yours can be the first.
Stars show on this course. Your written note stays private.