displaying html with js code example Example 1: print in js console.log() Example 2: how to print in java script console.log("Aighte, bet");