OCS SASS Toggles HW
Popcorn Hack
Popcorn Hack: Fill in the Blanks
Read the sentences and fill in the missing terms
- The checkbox on a toggle keeps track of whether it is on or off.
- The slider is the visible part of the toggle that changes color when it is turned on.
- The
.switchclass controls the toggle’s position, size, padding, and alignment. - The border-radius property makes the slider have rounded edges.
- The
&::beforeclass dictates the white circle of the toggle.
Homework Hack
Challenge
Build a dashboard control panel with 3 functional toggles, an active count tracker, and live feature updates.
Lines: 1
Characters: 0
UI Output