i am new to java script and i am trying to create a quiz for my site if some one oculd please look over my code and tell me where i went wrong that would be great. thank you.
<html>
<Head>
<title>Internet Quiz</title>
//<JavaScript Document>
<script language="Javascript" type+"text/javascript">
function answerCorrect(questionNumber, answer)
{
var correct = flase
if (answer == answers[questionNumber])
correct = true;
return correct;
}
var questions = new Array();
var answeres = new Array ();
question[0]= new array();
questions[0][0] = "Face has ______ users";
questions[0][1] = "2 million users";
questions[0][2] = "10 million users";
questions[0][3] = "23 million users";
questions[0][4] = "42 million users";
answer[0] = "D";
questions [1] = new Array();
questions[1][0] = "insert question";
questions[1][1] = "insert awnser";
questions[1][2] = "insert awnser";
questions[1][3] = "insert awnser";
questions[1][4] = "insert awnser";
awnser[1] = "b";
</script>
</head>
<body>
<body>
</html>
<html>
<Head>
<title>Internet Quiz</title>
//<JavaScript Document>
<script language="Javascript" type+"text/javascript">
function answerCorrect(questionNumber, answer)
{
var correct = flase
if (answer == answers[questionNumber])
correct = true;
return correct;
}
var questions = new Array();
var answeres = new Array ();
question[0]= new array();
questions[0][0] = "Face has ______ users";
questions[0][1] = "2 million users";
questions[0][2] = "10 million users";
questions[0][3] = "23 million users";
questions[0][4] = "42 million users";
answer[0] = "D";
questions [1] = new Array();
questions[1][0] = "insert question";
questions[1][1] = "insert awnser";
questions[1][2] = "insert awnser";
questions[1][3] = "insert awnser";
questions[1][4] = "insert awnser";
awnser[1] = "b";
</script>
</head>
<body>
<body>
</html>