Skip to content

JavaScript Foundations

JavaScript Foundations picks up where CSS Foundations left off. The Summit Trail Outfitters site you built is structured and styled — now you will make it interactive. By the final module you will have shipped five production-quality features: a mobile navigation toggle, a tour category filter, a photo gallery lightbox, a contact form with full validation and success feedback, and a tour favorites list powered by localStorage.

  • How JavaScript runs in the browser and how to connect it to your HTML
  • Variables, data types, operators, and template literals
  • Control flow — if/else, loops, and conditional logic
  • Functions — declarations, expressions, arrow functions, scope, and return values
  • DOM manipulation — selecting, reading, modifying, creating, and traversing elements
  • Events — click, input, keyboard, form submission, and event delegation
  • localStorage and JSON for persisting data across page reloads
  • Building and shipping complete, accessible interactive features from scratch

This course assumes you have completed CSS Foundations or have equivalent knowledge. You should be comfortable writing HTML and CSS, working with a code editor, and using the browser to view your work.

All exercises and capstones build on Summit Trail Outfitters — the same site from HTML and CSS Foundations, now made interactive. You can browse the reference source on GitHub or view the live reference site.