C
C
Chaly952018-03-12 12:12:50
JavaScript
Chaly95, 2018-03-12 12:12:50

Why is javascript not working outside of codepen.io?

I can’t understand why the code doesn’t work (
Here is the project on codepen
https://codepen.io/chaly7500/pen/OvVBYv
And here is already on the html page
https://ad-rocket.com.ua/testcard/test.html
Code one and the same but the animation doesn't work
Maybe I'm somehow not connecting JS correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Sanych, 2018-03-12
@chaly95

try connecting the script in the footer, not in the header

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question