Starting out in JavaScript with VScode and Chrome on PC
this line of code
console.log(document.getElementById(app-title'));
puts this on the console
(solid triagle)h1#iapp-title
but the tutorial I’m using Modern JavaScript from the Beginning – Second Edition Brad Traversy shows this
<h1 id="app-title">Shopping List</h1>
What am I doing wrong? Is there something in the console settings I’m missing?
4