GithubHelp home page GithubHelp logo

estydaven / advent-calendar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hongkiat/advent-calendar

0.0 0.0 0.0 54 KB

Advent Calendar in JavaScript

Home Page: http://hongkiat.github.io/advent-calendar/

JavaScript 63.00% CSS 22.30% HTML 14.69%

advent-calendar's Introduction

Advent Calendar

This is a regular Advent Calendar built in JS, with 24 doors for the days of Advent (Dec 1 - Dec 24). A door can only be opened on or after the specific date on it. This means that the Calendar is inactive before December.

How to Test the Calendar before December?

In order to test the Calendar before December, please comment out the month checker in the /scripts/calendar.js file, in line 24 in the following way:

if( /* ( currentDate.getMonth() + 1 ) < 12 || */ currentDate.getDate() < day ) {

This way the Calendar will only check the day of the current month, but not the current month of the year, so it can be tested before December.

Demo

You can find demo on http://hongkiat.github.io/advent-calendar/

advent-calendar's People

Contributors

azaleamollis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.