Your task is to build a responsive HTML page that matches the provided design mockups as closely as possible. The mockups are located in the /mockups folder:
Desktop.jpg— the layout at wider viewportsMobile.jpg— the layout at narrower viewports
A starter file (index.html) has been provided for you to work in.
- Match the mockups — Reproduce the layout, typography, and visual hierarchy shown in the desktop and mobile designs.
- Responsive — The page should transition from the desktop layout (3-column grid) to the mobile layout (single column, stacked) at an appropriate breakpoint.
- Use the provided assets — The three images in the
/assetsfolder (hero-1.png,hero-2.png,hero-3.png) correspond to the image placeholders in the mockups (Steps 1, 2, and 3 respectively). - Spacing — Assume
50pxspacing between all major elements. - Self-contained — Keep all HTML and CSS within
index.html. No external frameworks or libraries (e.g. Bootstrap, Tailwind) should be used. - No JavaScript required — This is a pure HTML/CSS exercise.
The page consists of the following elements (top to bottom):
- A main headline ("Featured Product Headline")
- Three step cards, each containing:
- A bold sub-headline (e.g. "Step 1 Headline", "Step 2 Headline Long", "Step 3 Headline")
- An image from the
/assetsfolder
- A paragraph of body copy (use placeholder text)
- A call-to-action link styled as a button ("Link Text")
- Desktop: The three step cards sit side-by-side in a row. Sub-headlines are center-aligned with each other, and images are also center-aligned with each other. All content is centered on the page. The page has a max-width of 960px.
- Mobile: All elements stack vertically in a single column. Content remains centered.
- Clean, semantic HTML
- Well-organized CSS (readability and maintainability)
- Accurate interpretation of the design (spacing, alignment, proportions)
- A sensible responsive approach
- Open
index.htmlin your editor. - Reference the mockups in
/mockupsas you build. - Open
index.htmlin a browser to preview your work.
Good luck!