What's wrong with this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

What's wrong with this code

Css, JavaScript

12th Dec 2021, 5:58 PM
Allan
Allan - avatar
9 Answers
+ 2
Where is your code ¿
12th Dec 2021, 6:23 PM
Pariket Thakur
Pariket Thakur - avatar
+ 2
Beauty There is hidden code like hidden test cases 😀
12th Dec 2021, 6:37 PM
A͢J
A͢J - avatar
+ 1
Allan You have to attach your code, it's still not attached.
13th Dec 2021, 2:05 AM
NEZ
NEZ - avatar
0
here's my code
12th Dec 2021, 5:58 PM
Allan
Allan - avatar
0
I tried to add an animation to a div using classlist.add but it isn't jumping
12th Dec 2021, 6:09 PM
Allan
Allan - avatar
0
How do I do that
13th Dec 2021, 3:44 AM
Allan
Allan - avatar
0
Here's the cose
13th Dec 2021, 3:44 AM
Allan
Allan - avatar
0
<div Id ="charactor" onclick="jump()"></div> <style> div { Width:100px; hieght:100px; background-color:blue; Position: absolute; } @keyframes myanimation { from { top:0px; } to{ top:100px; } } </style>
13th Dec 2021, 3:56 AM
Allan
Allan - avatar
0
Then got the element by I'd and used class list.add I'll send the final code coz network is not good here
13th Dec 2021, 4:02 AM
Allan
Allan - avatar