I try to do this in the browser, but for some reason the ID is not formatted with CSS [pendente]

Function go () {
watchful ("chaos");

var tela = document.createElement("div");
tela.setAttribute("class","class"); 
document.body.appendChild(tela);

}
go ();