Lesson 2/23 _ codecademy system broken?


Hey guys and girls,

In advance, I would like to thank you giving your time to considering to help me out.

If you look at the picture below, you see that the example on the left shows the selectors in pink, while in the editor it's just plain white.

Does anyone have any idea what I am doing wrong?

Thank you in advance,



Add the following into your index.html
right AFTER the last closing div-Tag < /div>
and right before your closing body-tag < /body>

 var ch1 =$('body h3').css('color');
 var ch2 =$('div h3').css('color');
 var ch3 =$('div div h3').css('color');
 var ch4 =$('div div div h3').css('color');


If you use a pre-pending-Dot in your CSS-stylesheet
the CSS-facility will be on the lookout for a HTML-Element which has the class-attribute set,
for instance .makeMeRed would require
a HTML-ELEMENT with **class="makeMeRed" in the index.html.


h3 { color: rgb(0, 0, 0); }
div div div h3{color:red;}


If you use h3 or div as CSS-selector they will talk about node-Selector
or HTML-Element-Selector.
As jQuery uses the same Selector-syntax as CSS
here an overview....