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.
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.
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.
Okay thanks, I’ll fix that and see how it works.