html console text
snippet in html

how to print to console javascript

user2896

console.log("string")

how to use js console log

user1745

console.log('string');

html console text

user3958

<script>
  console.log('%c text', 'background:---; color:---; font-size:---;');
</script>