Writing to innerHTML two ways

This uses two different functions.
The first builds up a text message.
The second uses document.createTextNode() and
appendChild().

Styling with JavaScript

In the second function we are using JavaScript to apply a css style to an element. element.classList.add("blackboard");

This will be replaced when you click the button.