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

Steven Dyess
Steven Dyess
1,989 Points

Challenge Task 2 of 2: What is wrong with this answer? h2 + p { margin-top: .5em; }

Challenge Task 2 of 2: What is wrong with this answer? h2 + p { margin-top: .5em; } If this isn't wrong, can you fix it, please?

Steven Parker
Steven Parker
244,163 Points

It's not clear what course and challenge you are referring to. You might want to take a look at this video about Posting a Question which will explain how to give a question a button linking back to the lesson.

Steven Dyess
Steven Dyess
1,989 Points

I apologize.
Today it took the answer. If I send another question, I will be more detailed. Thank you for reaching out.

https://teamtreehouse.com/tracks/web-design CCS Selectors, Attribute Selectors, and Child, Adjacent, and General Sibling Combinators. Combinators Challenge is the second question.

Q: It looks like we need to decrease the space between h2 elements and the paragraph that immediately follows. Create a new selector that targets p elements that are adjacent siblings of an h2. Then, set the top margin to .5em.

h2 + p { margin-top: .5em; } }

Steven Parker
Steven Parker
244,163 Points

If you don't need this question, you can delete it, click the little rectangle with the 3 dots to reveal the option to "Delete Question".