Iâve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the âpreformatted textâ tool in the editor (</>) to add backticks around text.
That website is using JS to do the typing: https://mtzioncode.github.io/profile.js. I personally wouldnât use their JS implementation as a model as I think they are over complicating it. Iâm sure if you search for âjavascript typewriter effectâ you can find plenty of better examples. Or you could just implement it yourself. Itâs not too hard. You just iterate through a string, progressively adding each character to the element. There are several options for adding the delay between characters. I think the best option would be to create a âsleepâ function that returns a promise after a setTimeout and then use async/await to call sleep() after you add each character: https://appdividend.com/2020/07/31/javascript-sleep-how-to-make-your-functions-sleep/.