Using document.write the greeting shows on the webpage. using console.log it only shows in the console.