objectivehtml / FlipClock

http://flipclockjs.com/
MIT License
2.74k stars 954 forks source link

Can't get it to work? #408

Open FBongert opened 4 years ago

FBongert commented 4 years ago

I must have some sort of brain damage, but I can't get this flipclock to work. Copying the .js and .css from the compiled folder and putting any of the examples in it or this simple html doc:

<html>
    <head>
        <link rel="stylesheet" href="flipclock.css">                
    </head>
    <body>
        <div class="clock"></div>
        <script src="flipclock.js"></script>
        <script type="text/javascript">
        var clock = $('.clock').FlipClock({clockFace: 'TwelveHourClock'})<,
        </script>   
    </body>
</html>

nothing is shown (well, not the clock that is) At first I thought it was about the server I was testing it on, but its not working locally either, with none of the browsers (chrome, edge, Firefox) JS in general is working fine, other scripts run smoothly in all the configurations.

What piece am I missing here?