+ 2

How to get this?

I want to make one text highlight after 1 minute and then make it notmal and another text highlight after 2 minutes and then make it normal too

25th Sep 2019, 4:43 AM
B.D
B.D - avatar
1 Resposta
+ 3
For everything related to time you should use setTimeout function. In your case something like this: setTimeout (function (){ MakeTextHighlight(); setTimeout (function (){ MakeTextNormal(); }, 1000); }, 1000); Those MakeText... functions you will have to write yourself, off course. Other text you can do at the same principle. Enjoy!
25th Sep 2019, 5:36 AM
Dejan Dozet
Dejan Dozet - avatar