https://github.com/jonaskuske/xmas
🎄 Nice little Advent calendar
https://github.com/jonaskuske/xmas
Last synced: about 1 year ago
JSON representation
🎄 Nice little Advent calendar
- Host: GitHub
- URL: https://github.com/jonaskuske/xmas
- Owner: jonaskuske
- Created: 2017-11-18T06:36:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-06T22:48:15.000Z (over 4 years ago)
- Last Synced: 2025-02-05T00:42:29.144Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://jonaskuske.github.io/xmas/
- Size: 4.94 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent calendar
***In case it's not december and the doors are locked, you can still open them by pasting the following code into the console:***
```javascript
$('.door').forEach(door => {
door.on('click', () => {
$('#gift-view-date').txt(door.firstChild.textContent);
$('.door-wrapper')[0].addClass('hidden');
$('.content-wrapper')[0].removeClass('hidden');
});
door.removeClass('disabled');
});
```
## Instructions
#### Install dependencies
> npm install
#### Start (live) dev server on :8080
> npm run dev
#### Build for production
> npm run build