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 Build a Simple Website Text Editors and HTML Creating Structure

Can't work out where Ive gone wrong!

I cant see where Ive gone wrong adding an id as part of my div!?

<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Smells Like Bakin' Cupcake Company</title> </head> <body> <div> id="featured-cupcake"> </div> </body> </html>

4 Answers

Misty Majewski
Misty Majewski
5,276 Points

Don't give up.. But I would recommend starting in the library and start with HTML and work your way down. I have not actually finished any of the tracks. I am still learning CSS because there is a lot you can do with it. After you have the basics of HTML and CSS I would recommend that you do the "project' in the library called "how to make a website" it is a new one and it uses only HTML and CSS. It is exciting when you do that after the deep dives because you can see how much you have learned and actually understand what he is saying. I just finished that this morning.

Misty Majewski
Misty Majewski
5,276 Points

If you are new to treehouse, also check out the library for their deep dives. I struggled with the first track because I really didn't understand what they were talking about. But in the deep dives they have all the fundamentals to HTML and CSS. This is really the best place to start!

I can double Misty's advice: If you are new to CSS and HTML the deep dives are essential and helped me learn the fundamentals. Cheers, Carsten

Hi Sally,

You haven't created a div yet: In order to an the ID as part of your div, try the following:

<!DOCTYPE HTML>
...
<body>
  <div id="featured-cupcake">
    ...
  </div>
</body>

Hope this helps. Cheers, Carsten

I am new, this is my first session, thanks for the tips! It's confusing me at the moment but I will stick with it! Thanks :-)