javascript access body code example
Example: reference body js
var body = document.getElementsByTagName("BODY")[0]; //bad way
document.body //good way
var body = document.getElementsByTagName("BODY")[0]; //bad way
document.body //good way