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

JavaScript

KASHYAP KRISHNA GURUPRASAD
KASHYAP KRISHNA GURUPRASAD
4,527 Points

Where can i find the list of syntax(s) , such as li:last-child , #for id and <dot> . for cssclass?

Am taking Basics of Javascript courses, here, i can see, references to "li:last-child , #for id and <dot> . for cssclass", however, am new to HTML and CSS , so, is there some kind of list where i can find all these references so that i can go through them instead of memorising them?

Please let me know.

2 Answers

shay elbaz
shay elbaz
2,885 Points

I googled : " document.querySelector" and got this. hope this help: https://www.w3schools.com/jsref/met_document_queryselector.asp

KASHYAP KRISHNA GURUPRASAD
KASHYAP KRISHNA GURUPRASAD
4,527 Points

thank you, basically, i need to learn and understand "CSS Selectors". So, went to the site and was looking for exactly this, reference page. https://www.w3schools.com/cssref/css_selectors.asp