How do I make a working button?

I just started using Unity the other day and, as such, I’m a total noob. While I’ve been able to learn how to set up a scene and navigate it with a working player controller, I can’t figure out how to make a working main menu from which you can chose which level to go to by clicking a button. I don’t know java, which has proved to be a problem, and every time I browse the forums to get sample code I get the following:
“All compiler errors have to be fixed before you can enter playmode!”
with the error:
“UCE0001 “;” expected. Insert a semicolon at the end.”
Sorry for the ignorance. Any ideas?

What might be easier for you (instead of working with the GUI class) is to put something in the scene, like a plane, to represent your button. Stick a BoxCollider on it or a BoxCollider2D to use as your button’s clickable area. If you attach a script to the same GameObject that has this collider, you can use the OnMouseDown() callback to do stuff in code when your button is clicked.