Skip to content

three-seagrass/car-starter-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Car Starter Project

  • Create a "Car" class. A car has a rego and speed. A car can increase it's speed to a maximum of 120km/h.

  • Create a list/array of 3 cars. Set the initial speed of car1 to 0, car2 to 10 and car3 to 20.

  • Create a dropdown to select a car. When a car is selected display the speed.

  • Create an input and button to change the speed of the selected car.

Edit on StackBlitz ⚡️

About

Created with StackBlitz ⚡️

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published