Questions tagged [addeventlistener]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
178 views

How to fix if statements within event listeners in Javascript

I'm struggling to spot the error in my javascript code in pset8. Specifically the code doesn't execute as I'd expect when using an if statement within an event listener. I've tried talking to the duck,...