Files
2018-05-19 02:20:19 +02:00

6 lines
140 B
JavaScript

const button = document.getElementById('mainbtn');
button.addEventListener('click', function(e) {
console.log('button was clicked');
});