A responsive landing page

The problem

Take a small, plain HTML page for a product of your choice, and style it into a complete landing page that works on a phone and on a large screen.

Requirements

Technologies

Step by step

  1. Write the plain HTML first, and check that it makes sense with no CSS.
  2. Add a small reset and define your colours and spacing as custom properties on the root.
  3. Build the navigation bar with flexbox, and make it sticky.
  4. Build the hero section with a gradient and readable text, checking the contrast.
  5. Build the feature section with an auto-fit grid.
  6. Add hover and focus-visible styles, then short transitions.
  7. Drag your browser from narrow to wide, fixing anything that breaks, and test at 320 pixels.

Expected result

A finished page that looks deliberate at every width, where one change to a variable can restyle the whole page.

How it is evaluated

Ways to improve it