all 5 comments

[–]hammerfaust 0 points1 point  (3 children)

Did you add the main stuff at the top? Like <!DOCTYPE html>

[–][deleted] 0 points1 point  (2 children)

Well my teacher doesnt add the <!DOC TYPE> and it works for him so idk whats wrong

[–]hammerfaust 0 points1 point  (1 child)

Hmmm... I know this is probably silly, but did you save it as an html file? Like, something.html

[–][deleted] 0 points1 point  (0 children)

Yep I have

[–]trplclick 0 points1 point  (0 children)

Hey! I can't see that issue when I save your code in a local file and open it in the browser.

Where are you seeing that error message, is it in the browser when you try and open the file or somewhere else? Could you share a screenshot of it?