Challenge 1:

Using the following object `person`, create an object method called `getSummary()` that logs to the console and returns the following string, making sure to use the `this` keyword to access the key and values inside of the object.

“My name is {firstName} and I love to {hobby} in my free time”.


const person = {

firstName: “Abbie”,

hobby: “bike”



Challenge 2:

Create a car object with the keys `model`, `color` and  `doors`, and assign them corresponding values. Then create an object method that logs to the console a description of the car like below:

“This Toyota car is blue and has 4 doors.”


  1. Click the play button to watch the video lesson.
  2. Watch the lesson as many times as needed.
  3. Code along with the instructor using the integrated code editor in the center of your screen.
  4. You can use the Run button beneath the code editor to test your code.
  5. Output from the code that you have written will appear in the panel on the right side of your screen.

If you get stuck or need assistance, you can click the button below to connect with a tutor. 

For additional questions or technical support, email support@veroskills.com