Skip to content
Advertisement

Wobble effect on letters

JavaScript
JavaScript
JavaScript

I’m trying to add a wobble effect on each letter but I can’t get it to work, I would like the letters to get a bit bigger while hovering them and making the effect run. I’m just learning javascript so I’m not really good at it, the snippet doesn’t work and I don’t know what’s the problem with it. I found this code for the wobble effect but it’s not working, can someone help ? Thanks

Advertisement

Answer

Instead of manually typing the letters in individual span blocks, let JavaScript do it. This will be much more flexible.

Other than that, you do not need to use JavaScript for the animation, do it with CSS instead. That will be much simpler and handleable.

JavaScript
JavaScript
JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement