top of page

Add A Digital Clock To WIX Website

Display a digital clock on your wix website

Dec 5, 2021

1 min read

This tutorial will discuss how to add a digital clock to your WIX website.


It is actually not that hard. Using the available Velo by WIX methods, we can retrieve current time and display it on a text element on WIX.


Step 1

Add a text element to your WIX website.


Wix Editor: Adding and Editing Text
Wix Editor: Adding and Editing Text

Step 2

Enable Vel Dev Mode. This will enable us make use of the WIX Code Panel


To Enable Velo Dev Mode on Your Site
To Enable Velo Dev Mode on Your Site

Step 3

The Code. The code is divided into three parts


  1. Calling the new Date() method

  2. Calling the toLocaleTimeString() method

  3. Finally, assigning the value from step to our text element.



Copy the code from below👇🏽

Watch this tutorial on YouTube | https://www.youtube.com/watch?v=8x9ThKa8o-I



Tags: User Interaction Velo by Wix Digital clock

PREVIOUS

NEXT

bottom of page