Page 1 of 1

JavaScript typing effect. I'm trying to change my code and make a function that will print words letter by letter. It sh

Posted: Tue Jul 05, 2022 10:19 am
by answerhappygod
JavaScript typing effect.
I'm trying to change my code and make a function that will printwords letter by letter.
It should take an argument and create a typing effect. somethinglike this function typingEffect(textToType) {...}
I don't want to change txt variable each time, I want thefunction to take an argument and type it.
Here's my code: