diff --git a/seed/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json b/seed/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json index 631f5c3637a..d5c3bbc17ea 100644 --- a/seed/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json +++ b/seed/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json @@ -18,7 +18,7 @@ "title": "Declare JavaScript Objects as Variables", "description": [ "Before we dive into Object Oriented Programming, let's revisit JavaScript objects.", - "Give your motorBike object a wheels, engines and seats attribute and set them to numbers." + "Give your motorBike object wheels, engines and seats attributes and set each to a number." ], "challengeSeed": [ "var car = {", @@ -40,7 +40,7 @@ "var car = {\n \"wheels\":4,\n \"engines\":1,\n \"seats\":5\n};\n\nvar motorBike = {\n \"wheels\": 4,\n \"engines\": 1,\n \"seats\": 2\n};" ], "tests": [ - "assert(typeof motorBike.engines === 'number', 'message: motorBike should have a engines attribute set to a number.');", + "assert(typeof motorBike.engines === 'number', 'message: motorBike should have an engines attribute set to a number.');", "assert(typeof motorBike.wheels === 'number', 'message: motorBike should have a wheels attribute set to a number.');", "assert(typeof motorBike.seats === 'number', 'message: motorBike should have a seats attribute set to a number.');" ], @@ -90,7 +90,7 @@ "var Car = function() {\n this.wheels = 4;\n this.engines = 1;\n this.seats = 5;\n};\n\nvar myCar = new Car();\n\nvar MotorBike = function() {\n this.engines = 1;\n this.seats = 1;\n this.wheels = 4;\n};\n\nvar myMotorBike = new MotorBike();" ], "tests": [ - "assert(typeof (new MotorBike()).engines === 'number', 'message: MotorBike should have a engines attribute set to a number.');", + "assert(typeof (new MotorBike()).engines === 'number', 'message: MotorBike should have an engines attribute set to a number.');", "assert(typeof (new MotorBike()).wheels === 'number', 'message: MotorBike should have a wheels attribute set to a number.');", "assert(typeof (new MotorBike()).seats === 'number', 'message: MotorBike should have a seats attribute set to a number.');" ],