Animation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Animation

Can someone please help me. I have an assignment where I have to create an eye blink using 3 images and one function. I can’t seem to find out how to connect the buttons to the function, and make them react at different speeds.

24th Oct 2018, 7:44 PM
Lateea Yarbrough
Lateea Yarbrough - avatar
5 Answers
+ 1
Here an eye blinks formed by 3 images animation. https://code.sololearn.com/WCvWh2cWlYZm/?ref=app
25th Oct 2018, 2:36 AM
Calviղ
Calviղ - avatar
+ 1
Added a button to Calvin's code https://code.sololearn.com/W5hdFo4trQk4/?ref=app
25th Oct 2018, 4:58 AM
Микола Федосєєв
Микола Федосєєв - avatar
0
Thank tou cery much, but it doesnt have a function...
25th Oct 2018, 2:38 AM
Lateea Yarbrough
Lateea Yarbrough - avatar
0
combined images into a single div in order to simplify the code https://code.sololearn.com/WkKg3T2rZ5Oa/?ref=app
25th Oct 2018, 5:12 AM
Микола Федосєєв
Микола Федосєєв - avatar
0
i need one function with 3 different buttons to work in different speeds. i aleeady know how to attach the one button to the function...
28th Oct 2018, 2:34 PM
Lateea Yarbrough
Lateea Yarbrough - avatar