Skip to content

Instantly share code, notes, and snippets.

View dan-ste's full-sized avatar

Daniel Steshenko dan-ste

View GitHub Profile
@dan-ste
dan-ste / inputTypeNumberPolyfill.js
Created November 24, 2016 10:54 — forked from nbouvrette/inputTypeNumberPolyfill.js
Stand alone JavaScript polyfill allow only numbers on input of type number.
/**
* Stand alone polyfill allow only numbers on input of type number.
*
* While input filtering is already supported by default by some browsers, maximum length has not been implemented by
* any. This script will solve both issue and make sure that only digits can be entered in input elements of type
* number. If the optional attribute `max` is set, it will calculate it's length and mimic the `maxlength` behavior on
* input of type text.
*
* Supports:
*
@dan-ste
dan-ste / front-end-curriculum.md
Created November 3, 2015 11:04 — forked from stevekinney/front-end-curriculum.md
Front-end Curriculum Draft

Module 1

  • Semantic markup
  • HTML standards mode and quirks mode
  • HTML fundamentals
    • Classes and IDs
  • CSS fundamentals
    • Selectors
    • Resets and normalizers
    • The box model
@dan-ste
dan-ste / fix_footer
Last active October 10, 2015 17:13 — forked from kovaldn/main.css
CSS: footer