0
You wired the fixture hot to the hot supply AND the switched hot. Hardly surprising that it does not turn off. This stuff is easier if you research and ask BEFORE diving in over your head.
What the wiring SHOULD be (god knows what it now is, depending on what else you disconnected while messing ...