Ramdom quote machine project

I have been able to make my functions work separately with the onClick event, but I can’t make them work together for some reason I don’t know, Can anybody help me? This is the link to my codepen>

Thanks for the help

I think you are forgetting to pass a certain argument into your handlers.

1 Like

and which argument would that be?

Thanks Bruce, I just added (e) as the argument and it works…awesome

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.