In file "Project_1.html", line 4:
<div class=“output”>
output has slanted quotes "".
What is it, another font?
Anyway, when you copy the HTML to complete the task, the text editor puts another set of "" around it, resulting:
<div class="“output”">
So that the code doesn't work and it's not even about JS.