View Code? Open in Web Editor
NEW
Coding challenge: countdown timer for end of 2016
HTML 32.03%
JavaScript 64.15%
CSS 3.82%
happy-new-year's Introduction
- Clone down the repo
- Run
npm install
to install all of the dev dependencies
- Run
npm run build
to build the src file from ES6
- Open the
index.html
file
- Time spent: close to an hour to set up the repo for ES6, file structures, writing actual code, creating README.md
- Tools used: Babel to allow ES6 code to be compiled
- Refactor repetitive code in startCountdown function
- Improve styling
- Reduce the amount of HTML usage, and convert to JavaScript
- Write unit tests for each function
- Add an ESLint as a style guide