Page 1 of 1

SDEV 117-JavaScriptAssignment : Animal GameCreate a web page that helps kids learn their animal names. Save your fileasu

Posted: Mon Jun 06, 2022 4:49 pm
by answerhappygod
SDEV 117-JavaScriptAssignment : Animal GameCreate a web page that helps kids learn their animal names. Save your fileasusername.greenrivertech.net/117/animal-game. Here is an example, but your page might look different. Youmay use the image fileshere, or choose your own. Feel free to use creative license!Define an array of animal names, andpickone of thenames from the arrayat random.Display that nameingreen(see LION below).When the user clicks on an image, display a border around it. Make sure that only the selected image has aborder. Then, If the selected image matches the animal name, display a positive message in green. If it doesn'tmatch, display anegative message in red. The user should be able to click on picturesuntil they get the correctanswer. Each time they click, the image border changes and an appropriate response message is displayed.Hint: Don’t forgetto give an “alt”property toeachofyour images!It might come in handy.Make sure that all redundancy has been eliminated from your code, and thatyour code is well-commented