how to output text within a div element with id javascript code example
Example: How to write inside a div using javascript
document.getElementById('log').innerHTML += '<br>Some new content!';
document.getElementById('log').innerHTML += '<br>Some new content!';