Okay, maybe a CSS approach will be easier for you then. Here is a howto you could also try: https://css-tricks.com/snippets/css/typewriter-effect/
Then you would “only” have to adjust your custom.css
.
Feel welcome to let us know if you’re making progress.
I don’t know how familiar you are with CSS and JavaScript, but it can’t hurt to try :-)