I need help with pet quiz

Hello I have been trying to figure out what do on this and when I define my variable.

I am using JavaScript.

1 Like

When using this language, all functions have to be defined with `` function functionName(functionType){
so

 function sayName(event){
    pet.say("hello")
}

would be your proper function

1 Like

Thank you. :slight_smile:

1 Like

You’re welcome sir, let me know if you need anything else.

1 Like