Blink text using jQuery


<!DOCTYPE html>

<html>

<head>

         <title></title>

         <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

</head>

<body>

        

 

         <p>hello world</p>

<script type="text/javascript">

         $("p").css("font-size","25px");

                 function blink()

                 {

          $("p").fadeIn("slow");

          $("p").fadeOut("slow");

    }

      setInterval(blink);

 

 

 

</script>

</body>

</html>

Post a Comment

If you have any doubts, Please let me know
Thanks!

Previous Post Next Post