Once I found a website that displayed the clock with its own code JavaScript, I ended up saving the code, because I wanted to understand it without the clock format and I ended up Losing the link with the original code, I saved and formatted it and the code was this:
Note that it displays and modifies the code itself.
As I had cleared the history, I ended up no longer finding the code, but the original format was this:
In other words, if you create this file and open it in your browser, you will see the clock that uses the JS code itself to display it:
clockjs.html
If you want different sizes and styles, use CSS to format the <pre> tag, example:
Cool huh?! If you know the link, send it to me so I can give credit to the person! I went!