This forum is now read-only. Please use our new forums at discuss.codecademy.com.

HTML Basics Forum

View Course » View Exercise

937 points
Fb32eaf1235bf45ef30d2e2a64908855?s=140&d=retro
Submitted by
BG
about 4 years ago

Don't see the error

When I run the code the title shows up, but I'm given an error that says: Make sure your title is exactly as shown in the instructions!. It seems to be so. What is the error? Below is the code:

#<!DOCTYPE html>
#
#
#
Bad to the Bonez Webpage Inc
#
#
#


0 votes

permalink

I had the same problem but them realised that the opening tag, webpage title and closing tag need to be on the same line

54 points
67c4dd5fb4842a2e283b10231d1d39eb?s=140&d=retro
Submitted by
Kristiana
about 4 years ago

4 Comments

Picture Lisa Archer about 4 years ago

Thanks Kristiana, was stuck on that for ages! But, do you know, is it wrong or "bad" coding to have them on different lines? or is it just a glitch?
Thanks for the help!

67c4dd5fb4842a2e283b10231d1d39eb?s=140&d=retro Kristiana about 4 years ago

I was told by a friend that whenever you open a tag the text should go after it and then the tag closed without any spaces but then you put a new opening tag on another line.

Picture Lisa Archer about 4 years ago

cool, good to know, works with the indentation stuff too. Thanks!

67c4dd5fb4842a2e283b10231d1d39eb?s=140&d=retro Kristiana about 4 years ago

No problem, I think that problem would have driven me insane if someone hadn't given me the answer so thought I would pass it along to save others as well!