Help me to find the mistake


#1




I don't know whats wrong. It seems that I didn't Add the required declaration on line 1 of index.html. I though this should be < !doctype >?


<!DOCTYPE html>
<html>
  <head>
    <title>Text</title>
  </head>
  <body>
    <h1>Hello World!</h1>
  </body>
</html>


#2

What exactly are you asking?


#3

In my code there is a mistake and i can't find it.

that's the missing part


#4

This is the required declaration,
<!DOCTYPE html>


#5

yes and that was the first thing i wrote in my code but it doesn't work


#6

Do it step by step. Clear the code, then put in the declaration only. Click run. Then do the next part, then run, and so on.


#7

Thank you. It worked now. Thank you both for helping me


#8

No problem! Happy to help :slight_smile:


#9

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.