I just started coding with JavaScript and i decided to run some code. (shown below)
var handleClick = function (event) {
alert('Hello there!');
};
var button = document.querySelector('#big-button');
button.addEventListener('click', handleClick);
However, whenever I would run the code it would say the button is null. help?