I don't really understand some of these comments about moon shots...
It should be possible to shoot the moon handheld with a shutter speed in the hundreds of a second at ISO 400 or there abouts.
Remember that things move so if you go for a tripod long exposure shot you'll end up with a blur unless you track.
OP...
The first thing is, as said, if the auto focus will not lock on switch to manual and focus or just set your lens to focus at infinity, if it has markings.
Your lens focal length is short so you're not going to be able to fill the frame or anything like it with the moon but you should get a shot with the moon being smallish in the frame.
Set your camera to Manual mode, set the aperture to f8, set the shutter speed to 1/800 and set your ISO to 400. Take a shot and review the result. If the moon is too bright lower your ISO or increase your shutter speed. If the moon is too dark use a slower shutter speed like 1/400 or 1/200 and shoot and review again.
If you want a general night scene you'll need a longer exposure and a tripod but a 30 second exposure and a tripod will probably not help you get a moon shot with any detail unless you track.