'Click' function in random quote machine does not work

Hi,

I’m starting my random quote machine program and it is still in the early phase:

my codepen

I tried a similar things that FCC practice have:

https://www.freecodecamp.com/challenges/change-text-with-click-events

I wanted the message to change when I click the button, but it didn’t. Could anyone point out how to debug this?

Thank you in advance for your help.

Hey, you need to add jQuery… use the settings on the top left of the Javascript box.

1 Like

Thank you very much. It works now.

1 Like