WebLearning library

Web development foundations

Build accessible browser interfaces and understand the requests behind them.

Beginner20 chapters14 practice questions10 references
Start coursePractise questions

Get an in-app notice when new lessons or practice are added.

20 chapters across 6 modules

Course chapters

Explore all 20 chapters in any order. Each chapter has learning goals, a practice prompt, and a primary reference; expanded reading pages are linked from their chapter titles.

01 · The web and HTML4 chapters
  1. How the web works

    • Trace URL, DNS, request, response, and rendering roles

    Practice: Annotate the journey of opening a lesson page.

    Read the primary referenceLesson guide · Ready
  2. Semantic HTML

    • Choose elements according to meaning and relationships

    Practice: Create an article with a useful heading hierarchy.

    Read the primary referenceLesson guide · Ready
  3. Document accessibility

    • Explain focus order, alternative text, and landmarks

    Practice: Audit a page using only keyboard navigation.

    Read the primary referenceLesson guide · Ready
02 · CSS and layout4 chapters
  1. Cascade and specificity

    • Predict which declaration wins and why

    Practice: Fix a style conflict without adding unnecessary important rules.

    Read the primary referenceLesson guide · Ready
  2. Box model and sizing

    • Distinguish content, padding, border, and available width

    Practice: Prevent a layout from overflowing a small screen.

    Read the primary referenceLesson guide · Ready
  3. Flexbox and grid

    • Select a layout system for one- and two-dimensional arrangements

    Practice: Build a reading layout with a responsive sidebar.

    Read the primary referenceLesson guide · Ready
  4. Responsive design

    • Use content-driven breakpoints and fluid sizing

    Practice: Test a page across narrow, medium, and wide viewports.

    Read the primary referenceLesson guide · Ready
03 · JavaScript in the browser4 chapters
  1. Values and functions

    • Trace expressions, scope, and return values

    Practice: Write a small deterministic formatter.

    Read the primary referenceLesson guide · Ready
  2. DOM and events

    • Respond to interactions while preserving native behavior

    Practice: Add a dismissible notice with keyboard support.

    Read the primary referenceLesson guide · Ready
  3. Async requests and failures

    • Handle loading, success, empty, and error states

    Practice: Fetch a local JSON file and display a useful fallback.

    Read the primary referenceLesson guide · Ready
  4. State and browser storage

    • Separate UI state from persisted data

    Practice: Save a local preference with storage-failure handling.

    Read the primary referenceLesson guide · Ready
04 · Building and improving4 chapters
  1. Client and server boundaries

    • Explain what a static host can and cannot execute

    Practice: Design a static course site with an external account API.

    Read the primary referenceLesson guide · Ready
  2. Performance and motion

    • Keep core interactions responsive and respect reduced motion

    Practice: Measure a layout shift and remove an unnecessary animation.

    Read the primary referenceLesson guide · Ready
  3. Testing and deployment

    • Validate links, forms, and asset paths in a production build

    Practice: Deploy a small site under a repository base path.

    Read the primary referenceLesson guide · Ready
  4. Mini project: learning page

    • Combine semantics, responsive layout, behavior, and tests

    Practice: Build a focused lesson page with a usable contents navigation.

    Read the primary referenceLesson guide · Ready
05 · Application-quality extensions3 chapters
  1. Form validation and error messages

    • Separate browser validation from authoritative server checks

    Practice: Design an error state that preserves user input and focus.

    Read the primary referenceLesson guide · Ready
  2. URL state and navigation

    • Keep search, history, and deep links understandable

    Practice: Implement a filter state that survives a refresh and back navigation.

    Read the primary referenceLesson guide · Ready
  3. Progressive enhancement

    • Keep core content available when optional scripting fails

    Practice: Review a lesson page with JavaScript disabled and document usable fallbacks.

    Read the primary referenceLesson guide · Ready
06 · Further foundations and worked reasoning1 chapter
  1. HTTP and accessibility basics

    Use document structure, real controls, and clear request behavior as the foundation.

    • Connect request/response behavior to a usable semantic interface

    Practice: Build a labeled search form with loading and error feedback that works from the keyboard.

    Read the primary referenceExpanded reading · Ready

Learn it. Check it. Try again.

14 original questions with worked explanations and source references. Filter by difficulty, revisit mistakes, and save your attempt as you go.

Open Web development foundations practice

Books & references

Free reading at the publisher or author’s site. External materials keep their own licenses.