+ 2

I want to add an animation effect on my menu but an error

I wanted to add an animation effect to the serial list on my menu, but it was an error if something went wrong please let me know thank you in advance https://code.sololearn.com/Ws4bJXu1Mgu6/?ref=app

18th Aug 2018, 5:21 AM
Hafizd Jubaidir
Hafizd Jubaidir - avatar
1 Respuesta
+ 3
Try this close.addEventListener("click",function(e){ listMenu.forEach(function(el,i,e){ el.classList.add("transhide"); e[0].animationDelay = "0.5s"; e[1].animationDelay = "1s"; e[2].animationDelay = " 1.5s"; e[3].animationDelay = "2s"; }) https://code.sololearn.com/W6y093MzTcaC/?ref=app
18th Aug 2018, 5:45 AM
Calviղ
Calviղ - avatar