0

Please Tell me Why Box not move Reverse

https://code.sololearn.com/WkX70xGaU5df/#js Please check the code and tell me why its not work in Reverse

7th Apr 2018, 7:32 PM
Muhammad Irfan ✓
Muhammad Irfan ✓ - avatar
4 Respostas
+ 1
i corrected your mistakes reverse variable settings to true or false was incorrect and for reverse style.right must be style.left too https://code.sololearn.com/Wdk0s2F22VzH/?ref=app
7th Apr 2018, 7:44 PM
🇮🇷 M N
+ 1
when you increase or decrease left of the object the position will change but you can use right for both direction see my other codes maybe you like them
7th Apr 2018, 7:59 PM
🇮🇷 M N
0
great bro but why we always use style.left always?
7th Apr 2018, 7:55 PM
Muhammad Irfan ✓
Muhammad Irfan ✓ - avatar
0
ok now I'm well known about that thanks allot
7th Apr 2018, 8:01 PM
Muhammad Irfan ✓
Muhammad Irfan ✓ - avatar