How To Make Beautiful Loader Using Javascript?

Loader Using Javascript can make your website starting part more extra ordinary.

JS Loader Code :

<!DOCTYPE html>
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <script src=''></script><script  src="./script.js"></script>

   body {
    background-color: #FDC800;
    overflow: hidden;
    text-align: center;

   html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;

   #animationWindow {
    width: 100%;
    height: 100%;


<div id="animationWindow"></div>

	var animData = {
		wrapper: document.querySelector('#animationWindow'),
		animType: 'svg',
		loop: true,
		prerender: true,
		autoplay: true,
		path: ''
	var anim = bodymovin.loadAnimation(animData);


Recent Posts

Leave a Reply

Your email address will not be published. Required fields are marked *