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 trialVivienne Carr
342 PointsHTML 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
bothxp
16,510 PointsI think you are looking for something like:
<head>
<meta charset="utf-8">
</head>
``
Calvin Nix
43,828 PointsHello Vivienne,
Could you please provide your entire source code?
Calvin Nix
43,828 PointsHey 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.
Vivienne Carr
342 Pointsthanks 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
43,828 PointsHey 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!
John Carr
Courses Plus Student 1,984 PointsDo i know you viv?
Vivienne Carr
342 PointsHi John
Don't think so...I'm in Scotland. My grandparents were from Ireland, but that was a while ago!
best wishes
Viv
John Carr
Courses Plus Student 1,984 PointsWow thats so weird my cousin lives in scotland, same name.
John Carr
Courses Plus Student 1,984 PointsOnly difference is she uses vivieanne.
Vivienne Carr
342 Pointsthat is strange! i suppose carr is a fairly common name, mind you :-)
John Carr
Courses Plus Student 1,984 Pointshaha, nice to meet you anyway. :-)