Looks like your first two characters in the index.js
file are some random characters. Get rid of them. It should work. Use a proper editor that supports UTF 8 and BOM.
I don't think there's anything wrong with the documentation. Also, they say:
We strongly recommend typing code by hand as you’re working through the tutorial and not using copy/paste. This will help you develop muscle memory and a stronger understanding.
Not just that, the HTML might have constructed using other generators that might add non-visual contents. From the above screenshot, it's very evident that there are two non-visual contents in the start of the line. Please remove that.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…