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

Incorrect failure on HTML quiz on title element

<!DOCTYPE html> <html><head><meta charset="UTF-8"><title>Dave</title></head><body></body></html>

index.html
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><title>Dave</title></head><body></body></html>

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Yes, your code should pass, but apparently they're having trouble evaluating it because of the way it's formatted. If you take your same code and properly indent it... it passes.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
      <title>Dave</title>
  </head>
  <body>
  </body>
</html>

Thanks Jennifer. A little better error message (stylistic feedback opposed to syntax accuracy) would be great, but really appreciate your help. I am auditing these courses to see what the experience is like. Thanks!

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

I agree Dave Armlin, but keep in mind that it's not a real person evaluating your code. It's another piece of code. So if your result doesn't exactly match what they're expecting, it will fail. But this is also true for other sites as well including free code camp and codecademy. I've seen people fail a challenge because they were missing a purely aesthetic space, period, or comma. Also note that I'm a student just like yourself! We help each other out around here a lot! If you ever see a profile with a fancy green border... that's a staff member :)