r/learnjavascript • u/ImadeapromiseMrfrod • Oct 30 '22
Hello everyone I am having some errors
1
Upvotes
4
u/metallaholic Oct 30 '22
Go to your html file, type ! Then tab so it gives you the proper boilerplate as well.
1
1
u/ForScale Oct 30 '22
You're writing HTML in a .js file. Doesn't work unless you have a transpiler to do like JSX.
1
1
-2
20
u/xroalx Oct 30 '22
You're writing HTML in a JS file.
Either remove the HTML, or rename the file.