Sample Code to Practice
JAVASCRIPT
console.log("Sends this message into the console");
We use console.log() to output content into the
console. In chrome it outputs it into the Inspect
element window under console. Other browsers such
as may require a plugin in order to be able to view
output from JavaScript.
Can be used to troubleshoot JavaScript, but also in code
development to view data values.