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
Ariana R.
Front End Web Development Techdegree Student 2,424 PointsBorders around New Cupcakes
Hi!
I can't figure out where I went wrong with this step. I see that a couple of other people have had this problem in the last few months, but I don't think that I've made any of their mistakes.
Can anyone take a look at my code and see if you can find my error?
<div id="new-cupcakes" class="grid_5 omega">
<h2>Fresh Out the Oven</h2>
<p>Our newest cupcakes are <a href="#">Bacon Me Crazy</a> and <a href="#">Jalapeño So Spicy</a>. </p>
<img src="img/new-cupcake-bacon.jpg" alt="Bacon Me Crazy">
<img src="img/new-cupcake-jalapeno.jpg" alt="Spicy Lime">
</div>
```
3 Answers
Ariana R.
Front End Web Development Techdegree Student 2,424 PointsHere is my CSS...
#new-cupcakes img {
border: 8px solid #FAF3BC;
margin: 0 0 20px 0;
}
Diego Aguirre
13,211 PointsHI Ariana,
I'm pretty new to all this myself I'm actually on the CSS deep dive section at the moment so I'm only slightly ahead of you. But I believe the mistake is in the ID you used in the css, I would recommend taking out "img" .
I'm thinking it should read like this
new-cupcakes {
border: 8px solid #FAF3BC; margin: 0 0 20px 0; }
Hope that helps and if not hopefully a more experience person can answer this for you .
Ariana R.
Front End Web Development Techdegree Student 2,424 PointsNo, that's not it. :(
There's something weird about it, though. The border around the featured cupcake and copyright came through fine.
Nevermind! I figured it out. I was looking at the master html file instead of the one that I had been working on. In my file, I mis-spelled cupcakes. Thanks for your help, Diego.