WEB-DEVELOPMENT-APPLICATIONS practice question 8 of 25
Which layout design is easiest to manage on a variety of devices?
Choose your answer, then check it against the explanation and the full breakdown below.
Question breakdown
Key idea: CSS Grid gives two-dimensional control of rows and columns, so a layout can be rearranged for different viewports with a few media-query changes.
How to reach the answer
- The clue is 'easiest to manage on a variety of devices', which points to responsive layout.
- Responsive layouts need content that can be repositioned per screen size without changing the markup.
- Grid lets you redefine grid-template-columns or grid-template-areas inside a media query to reflow the whole page.
- Flow is the default and offers no structural control, tables are rigid, and border is a styling property, so Grid is left.
Each option
Common trap: Flow can sound attractive because default flow content is naturally fluid. However, it offers no way to restructure a layout across devices.
In practice: Developers often build a page shell with grid-template-areas and swap the area map inside media queries. For example, a sidebar can sit beside the content on desktop and stack below it on mobile.
Remember: For responsive page-level layouts that need control over both rows and columns, reach for CSS Grid.
Drafted with AI assistance and checked against the answer key.
Keep practicing
Take the free WEB-DEVELOPMENT-APPLICATIONS practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other WEB-DEVELOPMENT-APPLICATIONS practice questions
- Question 1Given the following JavaScript code: ```javascript var n1 = 10; var n2 = "20.39"; ``` Whi…
- Question 2Which attribute displays help text in an input field without specifying an actual value f…
- Question 4Which element attaches an external CSS document to a web page?
- Question 5Which HTML tag should a developer use to create a drop-down list?
- Question 6Which method allows the end user to enter text as an answer to a question as the page loa…
- Question 9Which structure tag should a developer use to place contact information on a web page?
