+ 4

What's wrong with my code? So this doesn't work..

https://code.sololearn.com/W7Ts1Kaph8qH/?ref=app

9th Jan 2020, 4:42 AM
Unknown Ambusher 🗡️
Unknown Ambusher 🗡️ - avatar
2 Answers
+ 2
What happens is that the "translate()" function you can use two values, the first one on the X axis (horizontal) and the second one on the Y axis (vertical), while translateY (vertical) or translateX (horizontal) only use one value So for the translateY function to work, it must have only one Example: use translateY(25px); and don't use translateY(25px, 75px);
9th Jan 2020, 5:30 AM
Kevin E. Torres Caldas
Kevin E. Torres Caldas - avatar
+ 1
Okay got it and thank you Kevin E. Torres Caldas, now it's works 😊😊😊
9th Jan 2020, 7:11 AM
Unknown Ambusher 🗡️
Unknown Ambusher 🗡️ - avatar