diff --git a/001-counter-app/khalid586/index.html b/001-counter-app/khalid586/index.html new file mode 100644 index 0000000..b3f5ea5 --- /dev/null +++ b/001-counter-app/khalid586/index.html @@ -0,0 +1,32 @@ + + + + + + + Counter App + + + + + + + +
+

Counter App

+ + +
0
+ + +
+ + +
+
+ + + + + \ No newline at end of file diff --git a/001-counter-app/khalid586/script.js b/001-counter-app/khalid586/script.js new file mode 100644 index 0000000..695dd39 --- /dev/null +++ b/001-counter-app/khalid586/script.js @@ -0,0 +1,7 @@ +const decrementButton = document.getElementById("decrement"); + +function decrement() { + alert("decrement button has been clicked!"); +} + +decrementButton.addEventListener("click", decrement);