OCS Sass Toggles HW
Homework submission for OCS Toggles Inputs
Popcorn Hack - Fill in the Blanks
- 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 .switch class controls the toggles position, size, padding, and alignment.
- The border-radius Property makes the slider have rounded edges.
- The &before class dictates the white-circular portion of the toggle.
Homework Hack - Interactive Toggle Panel
This solution incorporates three OCS toggles that control different features on the page. Each toggle has its own purpose, and JavaScript updates the page based on the toggle’s status.
Challenge
Homework Hack - Interactive Toggle Panel
Lines: 1
Characters: 0
UI Output