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

General Discussion

HTML 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

Did 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;
}

Is the button not appearing at all, or are you just missing the texture image on the background?

The button appears, but it only appears as the colored text and nothing else. Not like it should appear anyways.

Is the texture.png in a img folder?

it is I tried moving it into the same folder my index.html folder was located and no luck with that either.

Try 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.

Is this a good way to create the directory needed to get the img's into the Smells Like Bakin text editor?

Yes it is

I think I managed to figure it out thank you.