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

0 comments on commit 1f0467a

Please sign in to comment.