Toggles:

Simple Toggle

It’s time for a fresh start. In this lesson, we’ll use our newfound knowledge of web interaction components to generate an entirely new toggle component from scratch. This versatile and all-important toggle component will be the basis for many different components that we build in future lessons. We’ll also explore more complex implementations of target traversal and figure out the best way to traverse from trigger buttons to target elements.

Learn More

  1. Download Starter Solution
  2. Lesson Source Code

Terminal Commands Used in This Lesson

  1. npm install
  2. code .
  3. npm run start
Lesson 9 of 34