Web DesignResponsive & accessibleLesson 12 / 69

Build the landing page

Code Lab60 min

Build the landing page

You now have every tool a real page needs: semantic structure, layout, a little JavaScript, responsiveness, and accessible forms.

The project: a landing page for something you like, with a sticky header, a hero, a feature grid, and a working contact form that validates before submitting.

Work in this order and you will never be stuck:

  1. 1.Structure the HTML semantically.
  2. 2.Lay it out with grid and flexbox — no colors yet.
  3. 3.Add the interactive bits (menu toggle, form validation).
  4. 4.Style it, check it at 375px, and ship it.

When it works on your phone, you have graduated from this course.

Exercise

Build the landing page above. Requirements: responsive at 375px, keyboard-navigable form, one interactive element with JS.

Practice this lesson in the IDE

Open the Web Design practice workspace, edit the starter code, and run your work in the browser.

Open IDE and practice