diff --git a/index.html b/index.html index be6da78c5e9ec9f23846a724d7820f71b1816897..c669f63c1b4e1de8e2a439b83445c06acec1bb03 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,7 @@ Page Title + @@ -32,18 +33,51 @@ + + diff --git a/js/car.js b/js/car.js new file mode 100644 index 0000000000000000000000000000000000000000..70d474a44a7948ec7e38fbd368fc7ddf9b11cb84 --- /dev/null +++ b/js/car.js @@ -0,0 +1,11 @@ +function Car(image, make, model, description, price, category, year, mileage, extras) { + this.image = image; + this.make = make; + this.model = model; + this.description = description; + this.price = price; + this.category = category; + this.year = year; + this.mileage = mileage; + this.extras = extras; +} \ No newline at end of file diff --git a/js/extra.js b/js/extra.js new file mode 100644 index 0000000000000000000000000000000000000000..298f99ac69abf5608f81264ca35aa0826d10767c --- /dev/null +++ b/js/extra.js @@ -0,0 +1,4 @@ +function Extra(name, price) { + this.name = name; + this.price = price; +} \ No newline at end of file