jQuery doesn't work in codepen

Hi there,

I was trying to do this simple slider in js and a bit of jQuery but unfortunately jQuery is not working. Any ideas what I did wrong ?

Hey, you will have to change line 21 and 22 of your js to this:

setTimeout(changeSlide,5000); setTimeout(schowaj,4500);

If you put it in between quotes it becomes a string. Also, if you use brackets behind the function name it will get executed immediately.

Thanks a lot for your quick replay BenGitter!. That solved the problem :grin: