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
Brandon Thomas
6,229 PointsHTML Smells Like Bakin'
Hi,
I finished this recently and I ran into one problem. I was unable to get the Browse Our Cupcakes button to display properly. I tried moving the images to different folders to get the button to appear and I had no luck. I am not sure what I did wrong at this point so I will post the CSS code below.
.btn {
color: #FAF3BC;
background: #4FB69F url('img/texture.png') no-repeat right top;
padding: 15px 30px;
margin: 40px 0px;
border-radius: 25px;
text-transform: uppercase;
7 Answers
Ethan Cathcart
609 PointsDid you remember to end it with }?
Mine works and it's exactly the same as yours:
.btn {
color: #FAF3BC;
background: #4FB69F url('img/texture.png') no-repeat right top;
padding: 15px 30px;
margin: 40px 0px;
border-radius: 25px;
text-transform: uppercase;
}
Chad Shores
Courses Plus Student 8,868 PointsIs the button not appearing at all, or are you just missing the texture image on the background?
Brandon Thomas
6,229 PointsThe button appears, but it only appears as the colored text and nothing else. Not like it should appear anyways.
Skylar Dryden
7,564 PointsIs the texture.png in a img folder?
Brandon Thomas
6,229 Pointsit is I tried moving it into the same folder my index.html folder was located and no luck with that either.
Skylar Dryden
7,564 PointsTry this: create a folder named lets say smells like bakin', then drag index.html into it, create another folder inside smells like bakin' and call it css, then drag style, normalize and grid into it, then create another folder in smells like bakin' and call it img and drag your images into it.
Let me know if this was helpful or not.
Skylar.
Matt Trask
10,027 PointsIs this a good way to create the directory needed to get the img's into the Smells Like Bakin text editor?
Skylar Dryden
7,564 PointsYes it is
Brandon Thomas
6,229 PointsI think I managed to figure it out thank you.