+ 1

Scroll animation jquery error

why vairable wScroll always produces the same value I was making scrollAnimation with jquery but this is what happened to help me solve this problem and explain how this can happen? https://code.sololearn.com/WIHfaSIHH7wH/?ref=app

24th Jan 2019, 4:39 AM
Hafizd Jubaidir
Hafizd Jubaidir - avatar
3 odpowiedzi
+ 1
hafizd21j why are you using two class bro? You wrote : <div class="box animate"> ..... </div> You can do your work with just one class!
24th Jan 2019, 5:16 AM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 1
Solved Thank you for answering my question. why do I use two classes? I don't know suddenly it crossed my mind.
24th Jan 2019, 5:20 AM
Hafizd Jubaidir
Hafizd Jubaidir - avatar
+ 1
Have a nice coding !!
24th Jan 2019, 5:21 AM
Arb Rahim Badsa
Arb Rahim Badsa - avatar