This is not what it says.
var bob = document.getElementById('bob'); // change text bob.innerText = "My ID is bob"; bob.textContent = bob.innerText; // for firefox // change font bob.style.fontFamily = "arial"; // you can even work with this box var code = document.getElementById('code'); code.style.fontFamily = "sans-serif"; // but that makes this all hard to read. so we change it back after a second. setTimeout("document.getElementById('code').style.fontFamily = ''", 1000);