I am making a Javascript quiz game for a school project, and I’ve finished my coding, but I want to make a START Page that tells the instructions as well as a “START” Button to be linked to my program, how would I go about this?
@br8kd0wn16authorOct 16.2004 — #I Have a 10 question quiz game, and there is a 6 second timer for each mult choice question. I want to have a "Start page" when I load the game with Instructions about the quiz, letting the player know there is only 6 seconds allowed for each question, then the player can push start, and it will be linked to my program, you understand?? here is what I have so far as for my game:
<html>
<head>
<title>Quiz show: array of questions </title>
<script>
var player;
var quesnumber = -1;
var questions = [
["keanu.jpg",
"What Movie is this Keanu Reeves Snap From?",
"Bill and Ted",
"Sweet November",
"Devil's Advocate",
"The Matrix",
"d"
],["jenlove.jpg",
"What Movie is this Jennifer Love Hewitt Snap From?",
if(amountofquestions==questionsanswerred){alert("U've finished!!!!! Ur grnd scor ist "+document.question.score.value+" out of "+amountofquestions)}else{loadnext()};
}
var timer;
function loadnext() {
quesnumber++;
if (quesnumber==questions.length) {quesnumber = 0;}
if(amountofquestions==questionsanswerred){alert("U've finished!!!!! Ur grnd scor ist "+document.question.score.value+" out of "+amountofquestions)}else{loadnext()};
@br8kd0wn16authorOct 18.2004 — #I also tried opening it on my mac and it totally got screwed, the start button came up WITH the quiz, and neither worked, i don;t really know where it went wrong, I've been coming the code and i can't figure it out.