Change Text with click Events

What is your hint or solution suggestion?

Inside the onclick function add this

document.getElementsByClassName('message')[0].textContent="Here is the message";

Challenge: Change Text with click Events

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.