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 CSS Foundations Advanced Selectors Pseudo-Elements: ::first-line and ::first-letter

Tomy Lim
Tomy Lim
4,571 Points

There's many selectors thrown at me. How do you remember all of them?

I'm having trouble remember all of the selectors. Does it just take more time to remember all of these or will I have to use reference while coding?

4 Answers

James Barnett
James Barnett
39,199 Points

The best way to test your CSS selector knowledge is CSS Diner

If you can't remember the syntax of a particular selector, the best reference I know is the 30 CSS Selectors you Must Memorize.

You might also want to check out:

Hi Tomy,

Don't expect to remember them all straight away.

The more you use them the more you'll remember but it's perfectly fine to use references such as W3Schools if you need to.

Thanks

-Rich

Start a spread sheet with the most common selectors and their function. Continue to add selectors in one column and their function in another column. Create a third column for notes so you can jot down your own notations on how they differ from one another.

I agree with Rich,

The more you use them, the more familiar you'll be with them. If you forget anything, just google it.

Good luck