diff --git a/js/button.js b/js/button.js index dccd7a9..231113d 100644 --- a/js/button.js +++ b/js/button.js @@ -14,4 +14,8 @@ body.appendChild(button); // 3. Add event handler button.addEventListener ("clock", function() { alert("did something"); -}); \ No newline at end of file +}); + +//create button2 +var button = document.createElement("button"); +button.innerHTML = "Click Me"; \ No newline at end of file