diff --git a/index.js b/index.js index e36025b00..a6e425b71 100644 --- a/index.js +++ b/index.js @@ -1,2 +1,4 @@ +const input = document.getElementById('button') function addingEventListener() { -} + const input = document.getElementById('button').addEventListener('click',() => alert('This was clikced'))} +