It's my first time learning JavaScript and I've already stumbled upon a thing that I can't understand. I'm following freeCodeCamp's tutorial JavaScript Programming - Full Course and at min 10:00 I got stuck. My code won't seem to display the number that I put in let count, actually It won't link to my index.js
// document.getElementById("count-el").innerText = 5
let count = 27;
console.log(count)
<html>
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>People Entered:</h1>
<h2 id="count-el">0</h2>
<script src="index.js"></script>
</body>
</html>