Typing Animation using Typed.js | Typewriting effect with jQuery || Coding Power


Hello everyone, you can learn how to create a Typing Animation using Typed.js in this blog. So if you want to learn then follow all the steps carefully.  

Watch Full Tutorial on YouTube

Source Code Of Typing Animation using Typed.js

Step 1: Create Index.html File

Create one file with the name index.html and paste the below code in this file. 

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="style.css">
    <title>Typing Animation</title>
    <div class="text">I'm a <span class="typing"></span></div>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/typed.js/2.0.12/typed.min.js"></script>


        var typing = new Typed (".typing" ,{

            strings : ["Youtuber", "Web Developer", "Blogger", "Freelancer", "Designer"],
            typeSpeed: 100,

Step 2: Create style.css File

Create one file with the name style.css and paste the below code in this file.

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;

    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 60px;
    font-weight: 600;

.text span{
    color: crimson;

That's It. if you face any error/problem then comment below or Download this code file and then try again. This file is a Zip file so after download you have to extract it.

For Download Code You have to wait 30 seconds.

Post a Comment

Previous Post Next Post