Interactive Web Design Test

Topic: Responsive Layouts using CSS Grid and Flexbox

πŸ“˜ Overview

In this test, you will demonstrate your ability to create a responsive web layout using both CSS Grid and CSS Flexbox. This assesses your ability to apply concepts independently, as a front-end developer would in practice.

It is an open-book test so you may consult online documentation (such as W3Schools or MDN) but AI tools are not permitted.

🧩 Files to Create

  1. index.html – Main HTML file
  2. main.css – External stylesheet
  3. HondaWN7.jpg (used for Task2: Flexbox) –
  4. Honda WN7
    Click here or on the image to download it.

🧭 Task 1 β€” Creating a Responsive CSS Grid Layout (60 Marks)

Objective: Create a responsive webpage layout that adapts from a single-column mobile view to a multi-column desktop view using CSS Grid, as shown below.

Responsive CSS Grid Layout Example

Requirements

Marking Breakdown

Criterion Description Marks
HTML Structure Correct semantic elements and layout setup 10
Grid Setup Proper use of display: grid and column control 20
Responsive Behaviour Layout adjusts correctly at 768px breakpoint 20
Visual Clarity Readable layout with clear spacing and styling 10
Total 60

🧭 Task 2 β€” Creating Responsive Flexbox Layouts (40 Marks)

Objective: Inside your <main> section, create a responsive Flexbox layout using text content and the Honda WN7 image, as shown below.

Layout 1: Mobile Size Screens / Viewports

Responsive CSS Grid Layout Example

Layout 2: Tablet and Larger Size Screens / Viewports β‰₯768px

Flexbox Layout 2 - Mobile version showing image stacked above text

Use the HondaWN7.jpg image provided on above (or your own image if preferred).

Marking Breakdown

Criterion Description Marks
HTML Setup Correct use of sections, headings, and image 10
Flexbox Layout 1 Accurate use of Flexbox and responsive change 10
Flexbox Layout 2 Correct reverse ordering and responsiveness 10
Visual Clarity Consistent alignment and spacing across devices 10
Total 40

🧾 Submission Instructions

  1. Test your layout by resizing your browser window from mobile to desktop width.
  2. Upload your files in a zipped folder Brightspace under β€œTest – Responsive Layout (Grid + Flexbox)”.
  3. Include index.html, main.css, and HondaWN7.jpg.