So I’m doing my first household electrical repair and am having a time doing it. So I had a flush mount light fixture stop working (2 socket). So I replaced the bulb sockets because they were all corroded. Now when I got everything unhooked I have 3 sets of wires going to this junction box. So I have 3 whites, 3 blacks, and 3 grounds. When I took it down they were all a mess, and only 2 grounds were hooked up.
So after changing the sockets, I joined the two blacks and made a pigtail and joined both whites and made a pigtail. I hooked all the blacks together, all the whites, and just left the grounds hanging and not touching anything. Only because they were too short to reach back after I cut them.
I hooked it all up and the light just stays on non stop. Lightswitch has no effect, also this just has 1 switch to power it.
I had a buddy tell me it was a switch leg and to find the only hot wire, hook it to the light switch black. Then the white from the switch goes to the black on my light fixture black. So I did that and had nothing, no light, switch on off didn’t make a change. What confused me with that was I had a set of wires just hanging there, not hooked up, thought maybe they needed to be included. Idk I’m stumped, old lady is second guessing my handywork, no kitchen light, aggghhhh.
Someone gimme a hint on what I’m missin here lol