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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply