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 trialAlejandro Castro
210 Points<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
10,348 PointsSpaces are not allowed
<div id="feature-cupcake"></div>
Alejandro Castro
210 PointsHere is the code:
<div id="featured cupcake">
</div>
</body>
</html>
Alejandro Castro
210 PointsScott Kipfer
10,348 Pointsinstead of creating another answer you can hit "Reply to this" and it will comment directly to my post without adding another answer.
Alejandro Castro
210 PointsMy bad. I was on my mobile device and didn't see it but I do now.
Much thanks again.
Scott Kipfer
10,348 PointsNo worries.... Happy Coding!