Need help with pet quiz


#1

Hey I have this all coded but there is something wrong with it and I can’t seem to figure it out.

Here is my code.


#2

I’m no expert on javascript (I’m learning python here), but it looks like your method, “pet.on(“hear”, petSay)”, is part of your function and it shouldn’t be.


#3

Okay thanks, I’ll fix that and see how it works.