8. Flexible Selectors



Hello, For some reason, even though my code appears to be right, I'm getting this error message:
"Did you call fadeTo('slow',0) on the .pink divs?"

Any suggestions? Much appreciated.

$(document).ready(function() {
    $("document").click(function() {
        $(".pink, .red").fadeTo("slow", 0);


HI you don't need of the click function so just remove it.


Thats the job! Thanks very much :smile:


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.