'Click' function in random quote machine does not work

'Click' function in random quote machine does not work
0

#1

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.


#2

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


#3

Thank you very much. It works now.