From a9361cf10b37e942459a45899625976222f19e7e Mon Sep 17 00:00:00 2001 From: Rick <121335204+rickcomics@users.noreply.github.com> Date: Sat, 26 Oct 2024 22:29:16 +0300 Subject: [PATCH] Update test.js --- test.js | 1 + 1 file changed, 1 insertion(+) 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!') })