javascript console write code example
Example 1: javascript console log
console.log('string');
Example 2: how to print to screen in javascript
console.log("Hello World!");
alert("Console has been updated.");
Example 3: how to print console in javascript
console.log("message here")
Example 4: log javascript
console.log(variable)
Example 5: html console text
<script>
console.log('%c text', 'background:---; color:---; font-size:---;');
</script>