brand new user, trying project 2 of beginner manual, but getting errors

we are using a mac OSX 10.8.5 I typed in the code exactly as it appears in the book, but I am getting 3 errors this is our first ever day with the UNO starter kit, so some help would be appreciated.

this is the code below:

1 int switchState = 0;

2 void setup(){

3 pinMode(3,OUTPUT);

4 pinMode(4,OUTPUT);

5 pinMode(5,OUTPUT);

6 pinMode(2,INPUT);

7 }

8 void loop(){

9 switchState = digitalRead(2);

10 // this is a comment

11 if (switchState == LOW) {

12 // button is not pressed

13 digitalWrite(3, HIGH); // green LED

14 digitalWrite(4, LOW); // red LED

15 digitalWrite(5, LOW); // red LED

16 }

17 else { // the button is pressed

18 digitalWrite(3, LOW);

19 digitalWrite(4, LOW);

20 digitalWrite(5, HIGH);

21 delay(250); //wait for a quarter second

22 //toggle the LEDs

23 digitalWrite(4, HIGH);

24 digitalWrite(5, LOW);

25 delay(250) // wait for a quarter second

26 }

27 } // go back to the beginning of loop

The errors are: sketch_dec22b:1: error: expected unqualified-id before numeric constant sketch_dec22b:3: error: expected unqualified-id before numeric constant sketch_dec22b:15: error: expected unqualified-id before numeric constant

What does that mean???

25 delay(250) // wait for a quarter second

You're missing a semicolon after the )

Are all the line numbers really there?

Yes, the line numbers are there. Are we that naive? were those not supposed to go there? I bought this kit for my 11yr old, as a project for us to play with together.

Thank you Crossroads, we are so :fearful: :blush:

No problem.