Help Building New Circuit - Buttons, Potentiometer and

I do not know what 'real indentation' means. But your code definitely lacks proper indentation....
In IDE, press CTRL-T...
post the result here...
Due to all your long cables, it is very difficult to check your wiring...

i removed everything from the circuit to retry. does the circuit look okay enough to restart? or can you make me a new one?

As said earlier... take tiny steps. Read the button... (check with Serial or LED_BUILTIN).
Read the pot. check...
Add the L23x. Let one motor run full speed and half speed (one second each).
Now take the reading of the pot to control the motor speed...
Your circuit does not have capacitors near the IC... 100nF from plus to gnd is fine.

I did take tiny steps and it still didn't work unfortunately. Can you tell me where to put everything?

take the small steps again..
show your progress.
keep your breadboard neat (without all the wires sticking out).
post your code (with proper indentation).

Changed whole idea - new circuit with IR remote


int receiver = 12; // IR receiver pin
IRrecv irrecv(receiver);

void setup() {
  Serial.begin(9600);
  irrecv.enableIRIn();
  Serial.println("Ready to receive IR signals...");
}

void loop() {
  if (irrecv.decode()) {
    Serial.print("Button code: 0x");
    Serial.println(irrecv.decodedIRData.decodedRawData, HEX);
    irrecv.resume();
  }
}

Works really well.

Glad you have something that works.
Have a nice day.

Does your motor respond to the ir receiver?
And if so... why?