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 First Stage 2 code challenge

Hi

I can't complete the code challenge step 4 - set the character set. I have coded as follows, but the programme is saying it's incorrect. What am I doing wrong??

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

10 Answers

I think you are looking for something like:

<head>
  <meta charset="utf-8">
</head>
``
Calvin Nix
Calvin Nix
43,828 Points

Hello Vivienne,

Could you please provide your entire source code?

Calvin Nix
Calvin Nix
43,828 Points

Hey Vivienne,

I went ahead and removed the source code that you provided of the entire webpage since it made it difficult to view additional responses.

I just wanted the code that you used during the code challenge. No problem though :)

My apologies for note being more specific.

thanks very much to you both. Sorry about the huge copy and paste, doh.

The code bothxp provided worked, thank you. I still don't really understand why mine didn't, I thought it was the same as bothxp's. No matter, thanks very much to you both, very kind!

Calvin Nix
Calvin Nix
43,828 Points

Hey Vivienne,

It is no problem :) Technically speaking, you gave me exactly what I asked for.

Yeah that has happened to me so many times, and usually the cause of the error is a simple syntax error.

Happy learning!

Do i know you viv?

Hi John

Don't think so...I'm in Scotland. My grandparents were from Ireland, but that was a while ago!

best wishes

Viv

Wow thats so weird my cousin lives in scotland, same name.

Only difference is she uses vivieanne.

that is strange! i suppose carr is a fairly common name, mind you :-)

haha, nice to meet you anyway. :-)