addEventListenter

This commit is contained in:
2023-08-06 16:27:10 +03:00
parent 94212c65c2
commit 51c5b24871

View File

@ -0,0 +1,3 @@
const button = document.getElementById('button');
button.addEventListener("click", function() { console.log('click'); })