We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abf170a commit f885e32Copy full SHA for f885e32
test.js
@@ -1,4 +1,6 @@
1
const btn = document.createElement('btn');
2
btn.innerText = "text";
3
-
+button.addEventListener('click', () => {
4
+ alert('Oh, you clicked me!')
5
+})
6
document.body.appendChild('btn');
0 commit comments