Logo

Mohamed Ehab

Auto Typing Using JS

Sample JS Practice

Auto Type

![channels4_profile.jpg] (https://cdn.hashnode.com/res/hashnode/image/upload/v1641057637283/vpZGPiOZq.jpeg)

Hello

How to make A Auto Typing with JavaScript !!???

1- In Your Project or website but any class name in span like this:

<span class="auto"></span>

2- insert this script tag

<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.12"></script>

3- open your JavaScript File 4- past this code in your JavaScript File :

var typed = new Typed(".auto", {
 strings: Your Text or list like ["Mohamed Ehab", "Fantastic website"] and etc...,
 typeSpeed: 100,
 backSpeed: 100,
 loop: true,
});

5- If the code not working ⚒ check your script tag to connect your html file to JavaScript file !!!

Thank you for reading out blog

All rights reserved.