Simple code, what am i doing wrong?


Im experimenting a little with my newly learned javascript skills and thought id create a little script.

Ive been working on this one for about 2 hours now and I cant get it working! please help!

var person = prompt("how old are you?");

confirm.("well, anything under 30 is young");
confirm.("anything over 30 is OLD!!");


Remove the period after confirm