HTML and CSS does not work


#1

https://www.codecademy.com/en/courses/web-beginner-en-HZA3b/0/2?curriculum_id=50579fb998b470000202dc8b

It shows me error 'Your DOCTYPE tag doesn't look quite right. Did you type it like this: <!DOCTYPE html> ?'
The browser executes this code with no problem, but your editor is not


<!DOCTYPE html>
<html> hello</html>


#2

Hi makushimo

It's not quite right if you trying to display a heading write your script like this:

Wrong

correct

use h1 tags not html tags


#3

I do not understand what you are talking about.
In the instructions said:
" In between the second and last line (between the html and the /html), feel free to write whatever message you like."

There is no word about h1 or else.

Why the editor in the lesson does not except my code?


#4

Hi makushimo

hey i now know want your doing and your code worked for me so i'm not sure realy :confused:


#5

Hi @makushimo,

I have tested your code and I agree with @peterlearns_coding, it is perfect.

Have you tried reloading/refreshing your web page?


#6

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