1. Popcorn Hack: Fill in the Blanks

  1. The checkbox on a toggle keeps track of whether it is on or off.
  2. The slider is the visible part of the toggle that changes color when it is turned on.
  3. The switch class controls the toggle’s position, size, padding, and alignment.
  4. The border-radius property makes the slider have rounded edges.
  5. The &:before class dictates the white circle of the toggle.

2. Find the Bug! (Completed)

Challenge

Fixed the toggle by adding the missing ocs_toggle-track class and aria-hidden="true" attribute to the track span element.

Lines: 1 Characters: 0
UI Output

3. Customize the Toggle (Completed)

Challenge

Changed the checked toggle track background color from green (#22C55E) to pink (#EC4899).

Lines: 1 Characters: 0
UI Output

4. Homework: Interactive Workspace Customizer (0.92+ Above & Beyond)

Challenge

Interactive control panel featuring 3 custom ocs_toggle switches, a live active-toggle counter, and connected DOM features that update the workspace preview card when flipped.

Lines: 1 Characters: 0
UI Output