H bridge not working in app labs

Hello, I created a homemade H bridge to control a motor but, when I tried to use it in app labs, the motor did not work. Previously I tried to do it in a regular arduino with the same programming( simple as turnin a pin on and turnin the other one on while you turn off the fisrt one) and it actually worked but I really wonder why when I use app labs for this one it does not work because with the normal IDE of arduino it actually worked out. Also my arduino uno Q it´s working well because I tried this same code within arduino IDE in there and the uno Q worked out that programming so I wonder what happened there?

My code is really simple and this is my code:

// puente H para rueda 
int mov_1 = 2;
int mov_2 = 3;

void setup() {
  // put your setup code here, to run once:
pinMode(mov_2,OUTPUT);
pinMode(mov_1,OUTPUT);
}

void loop() {
  
  // Direccion 1 
  
  digitalWrite(mov_1,HIGH);
  delay(5000);
  digitalWrite(mov_1,LOW);
  delay(10000);
  digitalWrite(mov_2,HIGH);
  delay(5000);
  digitalWrite(mov_2,LOW);
  delay(10000);

}

You should post your schematic.

Show your wiring.

Oh yeah sorry. Although It already worked. Being honest I dont know why it did not worked the first time.

Try a simple NPN transistor circuit in the simulator, and with discrete components.

[edit] what do you observe when the circuit "works" and what do you observe when the circuit "does not work?"

Try changing the base resistors of the transistors from 10k to 2.2k or 1.5 k so that the transistors receive enough base currents to enter saturation. Note that the UNO Q's IO pins are of 3.3V logic and NOT 5V logic like UNO R3.

Oh no, now it fully works in the app labs and in everywhere probably a little glitch in the moment that I could not describe since the arduino did not wanted to receive some sketches. I used normal NPN 2n2222 and it worked like actually I want to make analisis in that circuit so, now I need to make an analysis through python and stuff. with the resistance I used 330 ohms