3 DC motor sketch error, simple, i thought?

Bro we’re good for test
I took it apart , cleaned up the terminals etc and were in business all motors work as per the test sketch.
Thank you for all your help. I’ll continue to pole away on my side