Hi Holly,
There are two compilation errors in your code, otherwise it works fine. The first one is a common beginner error (2nd line, not including comments) that
you should get used to finding and resolving as it won't be the last time you do it. The second is a careless typo (2nd to last line not including comments). Slow down and pay attention when you're typing - you'll save yourself time later.
What does the compiler tell you is wrong and where (what line) is it telling you that the problem is on? Can you see anything that isn't as it should be? If you're really struggling, try commenting out complete statements or blocks of statements and see if the compilation error goes away. If, after trying hard to work it out, you're really stuck then post your code fragment on JavaRanch as you have done but be specific about what your problem is, i.e. my code won't compile: here's the error I get, here's my code, this is what I've tried.
If you help us we'll help you. I tidied up your code a bit but I've decided not to give it to you as I don't think it'll help you learn at present.
Jules