Virtual Zoo (Classwork)
Tags : JavaScript Intro
Virtual Zoo
Create a class for an animal. Create subclasses that inherit from Animal. For example Mammal, Reptile, etc
Add properties for species name, bloodtype, latin name, what food they eat, average weight, if they are friendly, add an image to a property too. Add more properties if you want.
Add methods to change the properties.
Add the end of your script create at least 5 animals and show them to the user.
Allow the user to click on an animal's noise property. For example, the cow noise property would go "Moooooooo".