Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website HTML First Use HTML Elements

Soon Han Ooi
PLUS
Soon Han Ooi
Courses Plus Student 1,062 Points

Set the character set. I followed exactly as in the video but still the wrong answer.

Thank you

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8”>
  </head>
  <body>
  </body>



</html>

4 Answers

Ah,it was hard to tell but when I did your <meta charset="utf-8”> right next to my <meta charset="utf-8"> I noticed something was wrong because your quotation marks were not the same, one of the marks was this” and the other one was this ” which was why you were not able to pass.All you have to do is change that ” to ”.

Here is what you are supposed to have :

<!DOCTYPE html>
<html>
  <head>
   <meta charset="utf-8"> 
  </head>
  <body>
  </body>

</html>

Yeah. I'm not sure what you did. I just retyped it and it worked for me.

<!DOCTYPE html>

<html>
  <head>
    <meta charset="utf-8">
  </head>

  <body>               
  </body>
</html>
Soon Han Ooi
PLUS
Soon Han Ooi
Courses Plus Student 1,062 Points

I changed the quotation mark from " to ' then it worked fine.

Thanks again, guys.

No problem.