Mark this wire black.
How to install a wall switch for a ceiling light.
How to add a wall switch to a light fixture that is turned on and off by a chain cord decide where you want to place your switch.
Generally wall switches are on the right hand side a few feet metres past the door opening.
Screw the switch into the box and then cover it with the cover plate.
Screw the switch into the wall with a screwdriver and supplied screws.
No house seems to have exactly the right lights in the right place with convenient safe switches.
Even if a plug in hanging lamp is where you want it built in wiring is safer more convenient and easier on the eyes.
Got light where you need it.
Installing additional light fixture and switch wiring should be done according to local and national electrical codes with a permit and be inspected.
Pick a single pole light switch for most applications.
Drill through the floor in the correct stud bay and send the wires for the switch and the light up to the switch using the fish tape.
Common applications include ceiling or hallway light switches a cellar or attic light a ceiling fan or chandelier or an outdoor patio light.
To wire the ceiling fixture to the new wall switch first connect the copper grounding wire to the fixture.
Carefully push the wiring into the wall area along with the attached switch.
A single pole wall switch usually has a lever or toggle that completes the circuit when it is flipped up to turn a light device or appliance on.
12 screw the cover plate back onto the wall with.
Install a ceiling light and switch.
From what has been described in this question it appears that a neutral wire is not available at the wall switch.
Then splice the fixture s black lead into the new black wire.