sketch_jan24a.ino: In function 'void loop()': sketch_jan24a:9: error: 'swichStat

Every time I Program I keep getting these 2 Errors;

sketch_jan24a.ino: In function 'void loop()': sketch_jan24a:9: error: 'swichState' was not declared in this scope

Pls HELP!

Here is the code!

int switchState = 0; void setup(){ pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); pinMode(2,INPUT); } void loop(){ swichState = digitalRead(2);

if (swichState == LOW){ //if the button is not pressed digitalWrite(3,HIGH); // green LED digitalWrite(4,LOW); // red LED digitalWrite(5,LOW); //red LED } else{ //if the button is pressed digitalWrite(3,LOW); digitalWrite(4,LOW); digitalWrite(5,HIGH); delay(250); //waits a quater a second //togle the LEDs digitalWrite(4,HIGH); digitalWrite(5,LOW); delay(250); //waits a quater a second } }

switchState is not swichState. check spelling.