I need to create an SVG animation of 2 steps, for that I tried with JS. It worked but the animation wasn\'t playing "correctly" let\'s say it just go from step a t