Full stack development

Stage 1 · Lesson 2 of 8

Semantic HTML and forms

Web foundations: HTML, CSS and JavaScript

describes what content is, and the right element does work for you. A <button> can be reached with the Tab key and responds to Enter. A <div> with a click handler does neither.

Use elements like header, nav, main and article. Give each page one h1 and keep headings in order. like this lets screen readers and search engines follow the page.

Forms matter most for full stack work, because they are how users send data to your server. Every input needs three things. A label tells people what to type.

A name becomes the key in the submitted data. The right type, such as email or number, gives the right keyboard and checks. Built-in attributes like required and minlength give quick feedback. They are only a convenience, though: the server must always check the data again.

A question to check yourself, an AI practice session and 1 cheat sheet entry come with the full roadmap. Unlock

Resources for this stage

Start with· follow one of these

  • CoursePaid
    Grokking JavaScript Fundamentals

    Design Gurus · Beginner · $50

    Guided course on the language core if you want structure and quizzes

  • CourseFree
    The Odin Project

    The Odin Project · Beginner

    Free Foundations course: HTML, CSS and JavaScript built in your own editor

Practise

  • Real designs to rebuild, so layout and interactivity get proper practice

Keep handy

  • The reference for HTML, CSS, JavaScript and browser APIs

  • Quick syntax lookups for HTML, CSS and JavaScript while you build

Also worth your time

Mark this stage as not done?