diff --git a/test.js b/test.js index f4ac993..c17cd35 100644 --- a/test.js +++ b/test.js @@ -1,5 +1,6 @@ const btn = document.createElement('btn'); btn.innerText = "text"; +btn.addListClass = "btn"; btn.addEventListener('click', () => { alert('Oh, you clicked me!') })