You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/06-add-listener-with-js/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Sometimes we need to add event listeners DURING RUNTIME.
5
5
The best way to do that is using the addEventListener function on any DOM element that we want to start listening to.
6
6
7
7
## 📝 Instructions:
8
-
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.
8
+
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.
9
9
10
10
## 💡 HINT
11
11
Here is the documentation for addEventListener: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
0 commit comments