0% Complete
0/0 Steps

Participants 0

      JavaScript Output

      JavaScript Display Possibilities

      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().
      Using innerHTML
      To access an HTML element, JavaScript can use the document.getElementById(id) method.

      The id attribute defines the HTML element. The innerHTML property defines the HTML content:

      Welcome to the Digital Strategy Hub

      We are in beta and please email support @ centerfordigitalstrategy.com with any issues or features that would make your experience better.

      We have a feedback call to hear what would be most useful to you:

      Thursday April at 1 ET / 10am PT