There are a bunch of ways to display data in JavaScript. In this course, we'll use the browser console and actual webpages.

<html><body>I'm on the Web!</body></html>
]]>

See that? Anything we put in the parentheses of console.log() displays in the browser console. What we pass to document.write() displays on the web page.

Didn't we already use document with a different command?