console.log javascript onto html code example Example: how to print to console javascript console.log("string")