text: $(document).ready(function(){
      $(window).scroll(function(){
          if(this.scrollY > 20)
              $('.navbar').addClass('sticky');
          else
              $('.navbar').removeClass('sticky');
              if(this.scrollY > 500) {
                  $('.scroll-up-btn').addClass('show');
              } else {
                  $('.scroll-up-btn').removeClass('show');
              }
      });
  
      //slide up script
      $('.scroll-up-btn').click(function(){
          $('html').animate({scrollTop: 0});
      });
  
      //typing animation script
      var typed = new Typed(".typing", {
          strings: ["Developer", "Blogger", "Designer", "Freelancer"],
          typeSpeed: 100,
          backSpeed: 60,
          loop: true
      });
      var typed = new Typed(".typing-2", {
          strings: ["Developer", "Blogger", "Designer", "Freelancer"],
          typeSpeed: 100,
          backSpeed: 60,
          loop: true
      });
  
      // toggle menu script
      $('.menu-button').click(function(){
          $('.navbar .menu').toggleClass("active");
          $('.menu-button i').toggleClass("active");
      });
      $('.carousel').owlCarousel({
          margin: 20,
          loop: true,
          autoplayTimeout: 2000,
          autoplayHoverPause: true,
          responsive: {
              0:{
                  items: 1,
                  nav: false
              },
              600:{
                  items: 2,
                  nav: false
              },
              1000:{
                  items: 3,
                  nav: false
              }
          }
      });
  });