Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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