how to print something on console in javascript code example
Example 1: javascript log to console
const varName = 'this variable';
console.log(varName);
Example 2: javascript console log
console.log('string');
Example 3: how to print console in javascript
console.log("message here")
Example 4: html console text
<script>
console.log('%c text', 'background:---; color:---; font-size:---;');
</script>