Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exercises/06-add-listener-with-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Sometimes we need to add event listeners DURING RUNTIME.
The best way to do that is using the addEventListener function on any DOM element that we want to start listening to.

## 📝 Instructions:
Right now this code is listening for the load and it prompts an alert when the website finishes loading. Write the necessary code to alert "wuju" whenever the green button is clicked.
Right now this code is listening for the load and it prompts an alert when the website finishes loading. Write the necessary code to alert "woohoo!" whenever the green button is clicked.

## 💡 HINT
Here is the documentation for addEventListener: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
Expand Down