<!--on html--> <button>Click Me!</button> /*js code*/ let btn = document.querySelector('button').addEventListener('click', () => { console.log('"Ohh!" Button clicked!') });