Skip to content

Sushant2024/cv

Repository files navigation

Portfolio-themes

Various Themes for Portfolio

Website: preview

Live share: joining_link

Resource: Resource

Latest Release:

Published Packages:

  • None yet

Resource:

Mailing System:

  • Tutorial
  • Formspree - Mails content to your mail (available in spam of your mail-account by default)
  • Formcarry - Mails content to your mail-ID
  • EmailJS - Mails content to location you want (gmail, icloud, outlook, yahoo, etc)

Making Contents:

Code for countdown timer :

  • HTML code to be entered in header under body

    <h3 style="text-align: center; color: aqua;">UNDER MAINTENANCE!</h3>
    <h3 id="demo" style="text-align: center; font-size:larger; color: cyan;"></h3>

  • JAVASCRIPT CODE for countdown

       <script>
          // Set timer we are counting down to [date month year or time]
          var countDownDate = new Date("Nov 30, 2020 00:00:00").getTime();
    
          // Update the count down every second
          var countDownfunction = setInterval(function(){
    
              // get Today's date and time
              var now = new Date().getTime();
    
              // Find distance between now and the countdownDate
              var distance = countDownDate - now;
    
              // Time calculations for days, hours, minutes and seconds
              var days = Math.floor(distance / (1000 * 60 * 60 * 24));
              var hours = Math.floor((distance % (1000 * 60 * 60 * 24))/ (1000 * 60 * 60));
              var minutes = Math.floor((distance % (1000 * 60 * 60))/ (1000 * 60));
              var seconds = Math.floor((distance % (1000 * 60)) /1000);
    
              // Result will be displayed in "div" with "id=demo"
              // Output the result in an element with id="demo"
              document.getElementById("demo").innerHTML = days + "d " + hours + "h " + minutes + "m " + seconds + "s ";
    
              // If the count down is over, write some text
              if(distance < 0) {
              clearInterval(countDownfunction);
              document.getElementById("demo").innerHTML ="EXPIRED!";
              }
          }, 1000)
      </script>