Motors not working

Hello im just starting out on learning arduino soplease be patient with me so my motors does not work when i press buttons what could be happening and thank you for the help
Mahalo

claw-machine.ino (911 Bytes)

What sort of motors? How are the motors connected to the Arduino? What motor power supply are you using?

...R

Show us a good schematic of your circuit. Show us a good image of your wiring. Give links to components. Posting images: https://forum.arduino.cc/index.php?topic=519037.0

Or, one could look at the OP's code.

I didn't look very far, but if this line is to give a pin a name:

const int left = 11;

... then lines like this:

 if (left == HIGH) {

... should probably be:

 if (digitalRead(left) == HIGH)) {

There may be other things too.

Cross-posted