Question: Use JavaScript to make a Web page interactive. This assignment will involve creating the game Concentration (aka Memory) where the user will match pictures and
Use JavaScript to make a Web page interactive. This assignment will involve creating the game Concentration (aka Memory) where the user will match pictures and earn a score.
Requirements:
Create the Game.html HTML page that implements the game using JavaScript.
The page must contain a 4 x 5 grid of images. (Must be 4x5)
Dynamically load the images on the page instead of statically writing them in the HTML of the page.
Must contain an array to hold the images in the javacript file:
something like this
var img = ['images/01.png', .........., 'images/10.png'];
When the users select two images are a match, it increases the score other decrease the score. Set a timer for the game. when the game is over found all matches, display the final score and ask the users if they want to play again.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
