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

<div id> tag not working in challenge

Hello,

I have searched high and wide but am not able to determine what I might be doing wrong.

The challenge asks me to create an id of "featured cupcake" to the div I just created. Below is the code that I have entered that is being rejected. I have tried different spacings, re-checked my work, compared it to successful code on the previous workshop but still it fails. Any suggestions or nudges in the right direction would be appreciated. I have just provided the part of the code that is in question. It is in the following post.

3 Answers

Scott Kipfer
Scott Kipfer
10,348 Points

Spaces are not allowed

<div id="feature-cupcake"></div>

Here is the code:

    <div id="featured cupcake">

    </div>

  </body>
</html>

@Scott Kipfer

D@mmit. Thanks...

(Shaking my head)

Scott Kipfer
Scott Kipfer
10,348 Points

instead of creating another answer you can hit "Reply to this" and it will comment directly to my post without adding another answer.

My bad. I was on my mobile device and didn't see it but I do now.

Much thanks again.

Scott Kipfer
Scott Kipfer
10,348 Points

No worries.... Happy Coding!