0

My JavaScript is showing up as HTML code.

Just what the title says. I've done some poking around, and found the problem is probably with my HTML, but I'm still not sure. I have a theory that the JavaScript window is reading HTML, but it is happening across devices. Ignore my bad JS please, I'm still relatively new to it. https://www.sololearn.com/compiler-playground/WHUa92VnBuy5

11th Jan 2023, 1:38 AM
Benny H
Benny H - avatar
2 Answers
+ 1
after fixing the closing section tag and commented out the html tag in the js tab, it works as it should.
11th Jan 2023, 3:25 AM
arturop200
arturop200 - avatar
11th Jan 2023, 3:15 AM
arturop200
arturop200 - avatar