Solution for current lesson

What is your hint or solution suggestion?

var element = document.getElementById(‘getMessage’);
element.onclick = function() {
element.innerHTML = “I clicked!”;
}

Challenge: Handle Click Events with JavaScript using the onclick property

Link to the challenge: