Select by class. BUG?


$(document).ready(function() {
    $('button').click(function() {

Hello, i don’t understand why it’s not working, i keep having the message:Please follow the instructions on the Full Preview page to test your code.
can someone help me??
i tried refreshing, closing the browser, changing browser, log out from codeacademy and log in again… same error!


when submitting the code, does the preview window go full screen? You should click the button to make the element vanish, wait two seconds, then make the preview window small again, you should be able to progress


yes when i submit the code, the window go fullscreen, i click the button to make the element vanish, but after its not possible to progress, i got the error…


but the divs aren’t fading, so that is a big hint? The function you need to make the elements fade is fadeOut, you use fadeout


i changed it with fadeOut, the divs are fading but i keep having an error: $e(…).a.cacher is not a function


Can i see an updated version of your code? Maybe now is a good time to refresh the page

$(document).ready(function() {
    $('button').click(function() {


works fine now, try refreshing page/different browser


tried to refresh, and changed the browser, still not working:
error: $e(’.disparaitre’).a.cacher is not a function. (In ‘$e(’.disparaitre’).a.cacher’, ‘$e(’.disparaitre’).a.cacher’ is undefined)


okay, post:

full html
full css code
full jquery code
exercise url



.vanish {
height: 100px;
width: 100px;
display: inline-block;
background-color: #F38630;
border-radius: 5px;

JQuery code:

$(document).ready(function() {
    $('button').click(function() {


its the french one, that explains a lot. Just write something invalid, it will crash the validition and let you pass, your code is fine, the exercise is bugged

anything invalid:

$(document).ready(function() {
    $('button').click(function() {

will do


Thank you! like you said the exercise is bugged, i tried what you wrote: SUCCESS!
thank you +1000000! for your help!!!