Arduino Spaceship Interface Code

Im on the 2nd project of arduino starter kit and i dont understand whats wrong with my code.
This is my CODE:

int switchState = 0;

void setup() {
// put your setup code here, to run once:
pinMode(3 , OUTPUT);
pinMode(4 , OUTPUT);
pinMode(5 , OUTPUT);
pinMode(2 , INPUT);


void loop() {
// put your main code here, to run repeatedly:
switchState = digitalRead(2);
if (switchState == LOW){

digitalWrite(3, HIGH);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
else {

digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, HIGH);

digitalWrite(4, HIGH);
digitalWrite(5, LOW);

Thank you for you help and attention

There's a section of the forum dedicated to the Starter Kit:

Have you looked in there?

i dont understand whats wrong with my code.

Are we supposed to guess? The code does something, assuming it compiles. You need to explain what it actually does. You expect it to do something. You need to explain that.

How IS the switch wired? You do have an external resistor, don't you? If so, why? Using the internal pullup resistor makes it so much easier to wire a switch (one leg to the digital pin and the other to ground).