Skip to content

jasondecastro/js-create-objects-lab-web-0716

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creating Pets

Objectives

  • Build constructor functions
  • Build objects with properties from a constructor function

Intro

You work at a pet store, and it's your job to update the website with all the new animals that come into the store.

Instructions

Create a constructor function for each of the following:

  • Dog with name, breed, and age properties
  • Cat with name, breed, and age properties
  • Ferret with name, age, and foodRequirements properties
  • Bird with name and breed properties
  • Fish with name, species, and waterConditions properties

Make sure you run the tests to make sure your solutions work as expected.

View Creating Objects in JS Lab on Learn.co and start learning to code for free.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.8%
  • HTML 20.2%