Problem about setup() and loop()

I just wrote few lines, nothing in loop method, but both 2 Leds are on, I think LEDs should be off because loop() is empty, is it because of the board? (it ‘s a cheap one, only 9 bucks…)

int redLEDPin=7;
int yellowLEDPin=6;

void setup() {
pinMode(redLEDPin, OUTPUT);
pinMode(yellowLEDPin, OUTPUT);
}

void loop() {
}

How are LEDs wired?

Please get into the habit of using code tags when posting code.

When you set a pin to OUTPUT, what does it output? It can't output 'nothing' because an output only has two states: HIGH and LOW.

Thanks for replying so quickly, you just mentioned me, and I checked my circuit again, haha the problem is that I connect the 5V pin instead GND. sorry to bother you, and thank you again for telling me check the circuit.