TLDRThe console object provides access to the browser’s debugging console. The specifics of how it works varies from browser to browser, but there is a de facto set of features that are typically provided. The console.log output can be styled in DevTools using the CSS format specifier.
Table of contents
The most common Console methods:Custom CSS styles for a console.log()String substitutionsHTML elements in the console9 Comments
Sort: