Typing and erasing Vanilla JS

Hey guys!

I am back with another solo-project:

I borrowed the idea from an other codepen and I added a few extra features of my own, the codes are 100% mine and I would appreciate if you could give me some feedback (especially on the JS part).

I am interested to know, if my code is readable (I left a few comments that hopefully help), and if my approach is correct and efficient, what would you have done different?

Also, I am not entirely happy with the typing animation, I think it doesn’t look 100% natural, so if you have any advice on how to that send them my way.

Thanks a lot!

1 Like