$ git clone https://github.com/nekki-t/FEND-ArcadeGameClone.git
e.g.
$ cd /{directory}/frontend-nanodegree-mobile-portfolio-master
$ npm install http-server -g
ref. https://github.com/indexzero/http-server
$ http-server
$ http://localhost:8080
- added async attribute on script tags for "analytics.js" and "perfmatters.js".
- compressed images by ImageOptim.
- changed the sizes of images into smaller ones.
- added "media='print'" attribute on style tag for "print.css".
- set Web Font Loader and made loading fonts async.
- made styles inline.
- compressed "index.html".
- replaced querySelector to getElementById.
- replaced querySelectorAll to getElementsByClassName.
- moved calculations in loops outside there.
- moved getElement methods in loops outside.
- reduced redundancies of generating variants.
- reduced max count of pizza instance, calculating by windows.screen.height, row height and cols.
- declared variants used in loops in the first sentence of there.
- added transform and backface-visibility properties in "style.css".