Help wiring this push button with DC Motor pls help

@jim-p yeah i did that

Your code workes OK for me when I push the button. The LED toggles and it prints on the serial monitor.
Either you have a loose connection somewhere or your pushbutton is bad.

To debug the circuit, temporarily connect and disconnect the pink wire to ground, like you were pushing the button.

Did you get it to work?