outputs only 0

#include <LiquidCrystal.h>

LiquidCrystal lcd(2,3,4,5,6,7);

int timer = 0;
int ledtimer = 0;
int red = 0;
int green;
int blue;
void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
lcd.begin(16,2);
}

void loop() {
  Serial.println(ledtimer);
  timer ++;
  ledtimer ++;
  if (timer == 1000){
    lcd.write("Merry Christmas!");
  }
  else if(timer == 2000){
    lcd.clear();
    lcd.write("Happy holidays!");
  }
  else if(timer == 3000){
    lcd.clear();
    lcd.write(":)");
  }
  else if(timer >= 3001){
    timer = 0;
  }
  if (ledtimer==1000){
    digitalWrite(red,HIGH);
  }
  else if (ledtimer==1500){
    digitalWrite(green,HIGH);
  }
  else if (ledtimer==2000){
    digitalWrite(red,LOW);
  }
  else if (ledtimer==3000){
    digitalWrite(blue,HIGH);
  }
  else if (ledtimer==3400){
    digitalWrite(green,LOW);
  }
  else if (ledtimer==5000){
    digitalWrite(red,LOW);
  }
  else if (ledtimer < 5000){
    ledtimer = 0;
  }
  delay(1);
  

}

The serial monitor output is only 0

probably coz if this:

  else if (ledtimer < 5000){
    ledtimer = 0;
  }

try changing ‘<’ to ‘>’.

thanks! i should go check my eyes soon XD