M
M
mindx2018-02-21 05:35:34
css
mindx, 2018-02-21 05:35:34

Why doesn't the hamburger animation work?

I study only in js, maybe there is an error in it, until it reaches why it doesn’t work ....
There should be an animation flowing into a cross.
Codepen
I will be grateful for the help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly Zharov, 2018-02-21
@mindx

1. jquery is not connected (Settings -> JavaScript -> Quick-add -> jQuery)
2. Misspelling in the class (.menu_link)
3. The toggleClass method waits for a class without a dot
4. It is better to move the js code to the js section, otherwise it will start executing before the libraries are connected

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question