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