javascript

Tutorial

The document.getElementById element requires an external text. ex.

<p id="test">Test</p>

To use document.getElementById you need a text element in HTML that has an ID such as the example above. If you want to use this insert it into the code like this.

//Make sure to add the "innerHTML"
document.getElementByID("test").innerHTML = "Not Test"
//This will change anything with id="test" to "Not Test"

Uses

If you want to use CSS with your JS code by changing the paragraph which has the CSS Properties