I've followed this website: https://www.instructables.com/id/Arduino-2-Button-2-Led/ with their code. Find attached my circuit. The shorter leg from the LED is inline with the resistor. The problem could be the resistors' values?
int buttonPin1 = 2; //int buttonPin2 = 3; //
However, I expected that when one LEDs is ON (green) the other LED (red) turns OFF, and viceversa