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 a9361cf commit 594b088
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";
btn.addListClass = "btn";
btn..classList.add = "btn";
btn.addEventListener('click', () => {
alert('Oh, you clicked me!')
})
Expand Down

0 comments on commit 594b088

Please sign in to comment.