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

HTML AND TEXT EDITOR

Hi, I'm stuck with a challenge right now. It's really confusing as to why the challenge kept asking me to recheck my work. I know it's correct 'cos I was able to run it in the web browser. I'm supposed to add the image in the body of the html. I've tried moving the IMG folder in C:\ and it didn't work. I moved it to C:\downloads and it still didn't work. I moved it to C:\Users\user\desktop and it still didn't work. Does anyone have any to suggestion to pass this challenge? Below is the code from the challenge 2 of 4 that I'm taking right now.

<!DOCTYPE HTML>
<html>
<head>
  <meta http-equiv="Content-Type" cotent="text/html; charset=utf-8"/>
  <title>Smells Like Bakin' Cupcake Company</title>
</head>
<body> 
  <img src="img/logo.gif" alt="Smells Like Bakin">
</body>
</html>

4 Answers

The challenges for the first island a few times gives different image paths to what you have just seen in the video.

Probably keeping you on your toes I suppose!

yep, definitely. ^_^

Danielle Hill
Danielle Hill
26,062 Points

Did you add an opening bracket "<" before your DOCTYPE tag?

Yes. Sorry I wasn't able to include it in the post. It's asking me to check the image path

Thanks for the suggestion. I was finally able to figure it out. It was asking for the CUPCAKE.jpg and not the LOGO.gif that I typed in. ^_^

Yes. Sorry I wasn't able to include it in the post. It's asking me to check the image path

Challenges have no hints at all? Bummer!

^_^ no, that's not it. i just didn't read it carefully that I missed the filename of the image being requested in the challenge.