Skip to content

Commit

Permalink
Update test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rickcomics authored Oct 26, 2024
1 parent 051d8d2 commit 2f7afd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const btn = document.createElement('btn');
btn.innerText = "text";
button.addEventListener('click', () => {
btn.addEventListener('click', () => {
alert('Oh, you clicked me!')
})
document.body.appendChild('btn');

0 comments on commit 2f7afd3

Please sign in to comment.