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

CSS

Mohamed Nur Ali
Mohamed Nur Ali
3,647 Points

In the CSS file, create rule for the .social-links class. You don't need to write any style instructions yet. help pls

In the CSS file, create rule for the .social-links class. You don't need to write any style instructions yet. help pls

2 Answers

Steven Parker
Steven Parker
229,732 Points

An empty CSS rule is just a selector, and a set of braces to enclose the style instructions to be added later. And the selector for a class is just the class name with a period in front:

.social-links { }
Mohamed Nur Ali
Mohamed Nur Ali
3,647 Points

is saying like Bummer! You need to create a rule for the social-links class within the styles.css file.

Steven Parker
Steven Parker
229,732 Points

Perhaps you're writing into the wrong file? If the challenge has more than one file tab, be sure you have selected the tab labeled "styles.css" before you start adding code.

For future questions — when asking about something in a course, it's helpful to include a link to the course page. A challenge usually has a "Get Help" button that will do this for you.

Mohamed Nur Ali
Mohamed Nur Ali
3,647 Points

Steven Parker I appreciate your efforts and helping I did it thank u respect