Skip to content

katherine95/car-class-lab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Car Class

You are to create a Car class that can be used to instantiate various vehicles.

It takes in arguments that depict the type, model, and name of the vehicle, provided they are set.

Let the test guide you to building your Car boiler plate.

How to Run this Lab

  • Clone the repository
  • Open index.html in your browser to see the currently failing test specs you are to pass
  • Open the repository in your favorite text editor to explore the different files
  • Open js\car-class.js and write the function(s) or lines of code to pass the tests
  • You could refresh index.html in your browser intermittently to see the status of test specs.

##Notes

  • Prior understanding of Javascript classes are required, returning, and conditional statements will be required to complete this exercise.

  • Remember that passing code is just the first step. The goal is to work towards a solution that is as readable and expressive as you can make it.

  • Please make your solution as general as possible. Good code doesn't just pass the test suite, it works with any input that fits the specification.

Have fun!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 66.8%
  • HTML 33.2%