Problem with button and LEDs

Post content lost due to vandalism by author

Well you didn't say what's wrong, but I surmise it's due to you not trapping the fact that the switch has JUST BECOME low when it tests if (switchstate == LOW): that's looking to see if the switch IS low, and loop() is very very fast.

So you need to have a look at an example like this, to see how to monitor a state change.

The issue I have is that the button press does nothing and only the LED on pin 3 is on.

sheepy28:
is it my wiring on the breadboard?

I can't see from here...

If normal = 0 when it gets into this loop, how is it ever going to get back out?

  while (normal%2 == 0) {
    digitalWrite(4, HIGH);
    digitalWrite(3, LOW);
  }