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


2 Answers

.a{fill-rule:evenodd;}techdegree seal-36
Front End Web Development Techdegree Graduate 56,488 Points

Hi Luis!

'#' means ID, so if you have a div in your html with an id of wrapper, you can style it in your css by writing #wrapper.


<div id="myId">

Can be selected like this:

#myId {}

I hope that helps!


Evgeniia Mas
Evgeniia Mas
4,452 Points

is used in css to style elements with id from your HTML as . (Dot) Is used for styling elements with classes. It us also used in jquery to select elements with id and operate with them.