addEventListenter

This commit is contained in:
Alexander Popov 2023-08-06 16:27:10 +03:00
parent 94212c65c2
commit 51c5b24871
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6

View File

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