&l;script>consile.log()</script> code example Example: javascript log to console console.log('message1' + ' - ' + 'message2')