Electrical codes generally require that all electrical devices, and the wiring connections to those devices, must be enclosed in an approved electrical box. Often known as a junction box, this metal or plastic box includes a cover to protect the wiring within and protect you from the wiring. This rule is demonstrated nicely by wall switches, receptacles, and standard light fixtures, all of which require a junction box to mount the device and house the wiring connections.
Answers & Comments
Electrical codes generally require that all electrical devices, and the wiring connections to those devices, must be enclosed in an approved electrical box. Often known as a junction box, this metal or plastic box includes a cover to protect the wiring within and protect you from the wiring. This rule is demonstrated nicely by wall switches, receptacles, and standard light fixtures, all of which require a junction box to mount the device and house the wiring connections.
Correct me if I'm wrong