Assessment Request for Object Basics 1 Skill Test

Hi. Any assessment would be appreciated. Thank you and have a good day! :bowing_man:

Object Basics 1
Object Basics 2
Object Basics 3

@harryghgim hi there!

So these are pretty good answers.

For assessment 1, you just need to add a call to cat.greeting() to log the cat’s greeting to the console.

assessment 2 is perfect β€” great work!

assessment 3 is interesting β€” this is not the way I was expecting you to do it, but the way you’ve done it works. I was more expecting the function to be defined as a method on each object, but this way is more efficient.

1 Like