Coding task · HTML and CSS course · Module 11: Developer Tools

Using the browser console

The DevTools console lets you run JavaScript code. The methods console.log(), console.warn(), and console.error() display different types of messages.

Task

Add a script with console.log(), console.warn(), and reading document.title.