JavaScript Output

JavaScript can “display” data in different ways:

Writing into an HTML element, using innerHTML.
Writing into the HTML output using document.write().
Writing into an alert box, using window.alert().
Writing into the browser console, using console.log().

Leave a Reply

Your email address will not be published. Required fields are marked *