Answers for "html console"

20

how to print to console javascript

console.log("string")
Posted by: Guest on February-13-2020
2

html console text

<script>
  console.log('%c text', 'background:---; color:---; font-size:---;');
</script>
Posted by: Guest on June-19-2020
-1

js log to console

console.log('this string will show on console') // this string will show on console

const strVar1 = 'fizz';
const strVar2 = 'buzz';

console.log('strVar1 is: ' + strVar1 + ' and strVar2 is: ' + strVar2) // strVar1 is: fizz and strVar2 is: buzz
console.log(420) // 420
Posted by: Guest on July-16-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language