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

HTML How to Make a Website Adding Pages to a Website Make an About Page

Please answer, I set the margins to 30px but it keeps saying "bummer" I do not know what to do please help.

Please help I am very confused.

Hi, John. If you could post your code, I'm sure someone would love to take a look at what's going on.

Good to have you here, and welcome to Treehouse!

Tommy Gebru
Tommy Gebru
30,164 Points

I agree, the link above Post Your Code is a great way to let others help you easier and faster, this makes you more approachable and better understood, please let us know if this helped!

4 Answers

Tommy Gebru
Tommy Gebru
30,164 Points

So I took a look at the video lesson, and did the challenges and it seems that you may have only set the margins to 30px, but this will apply 30px of buffered space to all sides of an element. Therefore to apply it only to one side:

Remember that there are four values to both Margin and Padding properties and they range in order clockwise.
top, right, bottom, left.
Thus the challenge expected to see something like this
margin: 0 0 30px 0;
or even 
margin-bottom: 30px;

Thank you so much!

Tommy Gebru
Tommy Gebru
30,164 Points

Hey John,

just a quick note providing your code, allows for forum users to quickly comprehend and point out numerous solutions. You can do this by following the "Markdown Cheatsheet" located below the textarea, before you click on the "Post Answer" button.

Also it helps if the you could copy + paste the full Bummer ! Message.

.profile-photo { display: block; max-width: 150px; margin: @ auto 30px; } there is my code

Hi John,

Replace the @ sign with a zero and you should be good to go.

Also, if you look just below the text box area you will see something that says Markdown Cheetsheet. Also, there is a post here titled: Posting Code to the Forum by Dave McFarland. If you don't understand that maybe this will make sense: How to display code at Treehouse.

Jeff

Tommy Gebru
Tommy Gebru
30,164 Points

Hey John, also selecting the Best Answer on Forums can help others with similar or relevant problems find a solution, this saves time and confusion, for many treehouse students to navigate the webpage better