Error too few arguments to function 'void pinMode(uint8_t, uint8_t)

void setup() {
pinMode(D4)
}
void loop() {
digitalWrite(D4, HIGH);
delay(1000);
digitalWrite(D4, LOW);
delay(1000);
}

When I try to upload my code it keeps giving me this error. Can someone please help me.

The problem is with pinMode, this will explain
https://docs.arduino.cc/language-reference/en/functions/digital-io/pinMode/

Your question does not indicate a problem with IDE 1.x and hence has been moved to a more suitable section of the forum.

Did you read the error message? What didn't you understand in "too few arguments to function" ?

Look at the blink code, it is one of the supplied examples.