Arduino Code for ELEGOO Tumbller robot

Hi,
thank you for this! It has gotten me closer but still doesn't seem to produce anything. I'm very new to programming so I'm not sure if what I have written is correct.

const int motorIn1 = 7;
const int motorIn2 = 12;
void setup () {
  pinMode(motorIn1, OUTPUT);
  pinMode(motorIn2, OUTPUT);
}
void clockwise(int Speed) {
  analogWrite(motorIn1, HIGH);
  analogWrite(motorIn2,LOW);
}
void counterclockwise (int Speed) {
  analogWrite(motorIn1,LOW);
  analogWrite(motorIn2, HIGH);
}
void loop () {
  clockwise(200);
  delay(2000);
  counterclockwise(200);
  delay(2000);
}

Also, my elegoo tumbler is being used in a bigger project, for now, I'm trying to figure out basic motor movement, without the balancing function (so, simply get the wheels moving in a controlled manner).