- 3
What's wrong with this code
Css, JavaScript
9 Réponses
+ 2
Where is your code ¿
+ 2
Beauty
There is hidden code like hidden test cases 😀
+ 1
Allan
You have to attach your code, it's still not attached.
0
here's my code
0
I tried to add an animation to a div using classlist.add but it isn't jumping
0
How do I do that
0
Here's the cose
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>
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