Need help with 8/13 Flexible Selectors

jquery

#1

I'm currently getting the error code that states-----"Oops, try again. Please follow the instructions on the Full Preview page to test your code."

Yet, I'm getting the option to continue on to the next section "Way to go! Start Next Lesson" button.

For clarification, I need to use a compound selector to apply .fadeTo() to both .pink and .red.

Here is my code:

$(document).ready(function() {

$(".pink, .red").fadeTo("slow", 0);

});

Is there something wrong with my code? I don't know if it's something that I did wrong or if it's just a bug.


#2

@peglegsisco,

I tried your code in a windows 8.1 IE11 environment and got a pass..

Maybe.....
++++ reset of session *****************
As you are manipulating with objects
under certain circumstances you can shoot your Browser in an
inconsistent state.

Therefor it is of an advantage to know that you have 2 reset facilities:

One is the use of the F5-key which does a refresh Browser

and

Two, select&copy your code
Then use the Reset Code button of the course-window,
then paste your code back in.

Addendum
General Notes:
Always refresh the browser after making corrections:
CTRL f5 ( if on Windows or Linux)
CMD r ( if on a MAC).
CTRL 0 to reset browser zoom


#3

@leonhard_wettengmx_n

Thanks, for the clarification, buddy. I tried your advice and it happened to fix the problem. Thanks for your assistance.