Skip to content
Advertisement

What’s wrong with the animation for the menu?

Okay so basically I have to do an internet site for school with HTML but only javascript animation, all the code work proprely but when I want to transform the three lines I use for my hamburger menu into a cross with a javascript animation nothing is happening and I really don’t know why. If someone can help me I will be really greatful as always, thanks for reading.

JavaScript

Advertisement

Answer

here is your correct code : missing ; and remove . before class in javascript code. good luck.

JavaScript
JavaScript
JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement