Strange Issue after replacing electrical receptacle
I replaced one of my electrical receptacles that is connected to a single pole switch and am facing a strange problem. After changing it, the switch affected the changed receptacle and the one next to it. The one I changed had
2x black wires
2x white wires
1x red wire
I connected the 2x black to the brass side and 2x white to the silver side. The red wire I screwed into the top screw of the black side and ground wire went to the ground screw. I also broke the tab on the black side.
After noticing this problem, I moved the red wire to the bottom screw on the black side. Now, the light switch doesn't control anything and only the one of the plugs in new receptacle works (the bottom one). Both outlets in the receptacle next to this one do not work.