If you are following me you already know that we have made Terminal Animation using Typed.js library. It was also a marvelous library.
But this time we are going to code completely using JavaScript. Main advantage of creating this with complete JavaScript you can also implement it in your WordPress, Wix or Gatsby Js Website while sometimes error occurs while using this animation with Typed.js
So let's dive into code 🤘
If you want to increase or decrease typing speed than change in this code:
const normalSpeed = Math.random() * (100 -50) + 100
// Simply increase or decrease last number [100]
Want to change the Strings? Change this code:
const phrases = ['Hello, my name is Shah Stavan.', 'I love to code.', 'I love to teach.']
// Add your Strings
Top comments (3)
🤯
😏
Some comments may only be visible to logged-in visitors. Sign in to view all comments.