Jump to content

Moni

Circle Member
  • Posts

    2
  • Joined

  • Last visited

Moni's Achievements

Level 1

Level 1 (1/20)

0

Reputation

  1. Is it possible to do something similar to this sidebar menu. Putting icons and text and having it on the right side?
  2. Hi! Please could someone help me with this count down on my page , the code i have is configured for 30 minutes and i only need this timer for 10 minutes, below i copy the code i am already using HTML <center> <h2 id="timer"></h2> </center> <script> var countDownDate = new Date("Apr 6, 2023 11:00:00").getTime();var x = setInterval(function() {var now = new Date().getTime();var distance = countDownDate - now;var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));var seconds = Math.floor((distance % (1000 * 60)) / 1000);document.getElementById("timer").innerHTML = minutes + "m " + seconds + "s ";if (distance < 0) {clearInterval(x);document.getElementById("timer").innerHTML = "Tu tiempo ha terminado";} }, 1000); </script> and the other question is, it's possible to edit the design of the count down in order to be something like this? 10 minutes thank you so much, i hope you can help me.
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.