what is a cat clock?
ok cool, I still don’t really understand but cool.
I do notice that there is delay on the image change when you click the party time button. So maybe that is something you could improve on
That’s true, and I know it.
I have a setInterval for the clock which checks every second for the current time and the current picture.
When I don’t have a delay on the button, you could intend to make more then one click on the party button and then my script gave the wrong pictures.
It might be that I can solve it I think.
I improved on the delay on the button, it is now in an instance.
I have updated the background-color to an image. I improved on the logic and also on the styling a bit.
Are there people who have a bit more feedback about this small project?
If you add Bootstrap you can take advantage of the select dropdowns and buttons css, you can add the css and keep the transparent css you have on your button though it looks nice over that background
Thank you for pointing out bootstrap. Bootstrap is really good when it really needs to be responsive for mobile and stuff. Despite that my cat-clock site is somewhat responsive and the button aren’t that great as I want them to be, I decide for my learning process on normal css/html to not use a framework like bootstrap in the beginning of my design career.
Thanks for the compliment that it is nice with the transparent button.