Inside the script tag there was a error: Uncaught TypeError: correct.addEventListner is not a function at HTMLDocument. (index.html:14)
Please help me fix it here's the code:
var correct = document.querySelector('.correct');
correct.addEventListner('click', function () {
correct.style.backgroundColor('green');
document.querySelector('#feed1').innerHTML = 'Correct!';
});
#green