Skip to content

Commit 7185f9e

Browse files
authored
Update test.js
1 parent fd94714 commit 7185f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const btn = document.createElement('btn');
22
btn.innerText = 'text';
3-
btn..classList.add('btn');
3+
btn.classList.add('btn');
44
btn.addEventListener('click', () => {
55
alert('Oh, you clicked me!')
66
})

0 commit comments

Comments
 (0)