I need help with pet quiz


#1

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

I am using JavaScript.


#2

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


#3

Thank you. :slight_smile:


#4

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