Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website HTML First Use HTML Elements

HTML Doctype tag.

When I type and follow code as instructed, this comes up: "Bummer! Make sure you define the HTML Doctype tag."

index.html

6 Answers

Thank you for all your help Dan.

<!DOCTYPE html> this should be the first line of html code.

That's what I have done Dan Parker.

have you tried refreshing the page?

Yes. That hasn't worked either, it won't let me progress to the next stage.

what is the task that you are being asked to perform?

How to make a website

I meant in the code challenge

did you get it to work?

No it didn't work in the code challenge Dan.

I can't see what exactly you are being asked to do, but if its stuck on doctype you need to make sure that it is exactly like this: <!DOCTYPE html> and it must be first line. I hope this helps......