Dates & Timeline 

See http://js20.challengepost.come/details/dates

Code parameters

  • No teams, this is a solo competition
  • 20 lines or less of JavaScript, not including comments (and nothing else)
  • 80 characters per line max, including spaces
  • Use any previously existing & public API or libraries, but don't create one just to downsize your code, (you only have 20*80 characters total!)
  • no malicious code — pls don't hack the gibson

How to Enter

  1. Click “Register” to sign up.
  2. Create your hack with 20 lines (or less) of JavaScript (each line of code must be 80 characters or less) and nothing else
  3. Enter your submission by providing:
    • Your 20 lines of JavaScript in the description field (which supports markdown & fenced code blocks)
    • A description of how your hack works
    • At least one image of your code's output, if you have one, or something else (for the site gallery)
    • relevant tech & api tags (don't forget to add #20lines!)
    • (Optional) a link to a demo on,, or another site

Judging Criteria

Submissions will be scored on the following criteria:

  1. Does it work?
  2. Creativity
  3. Elegance


Grand Prize: one year of Github (Micro personal plan priced at $7/month)

Runners up (4): $50 gift certificate at THINKGEEK

If you live somewhere where you can't take advantage of the above, we'll substitute something of equivalent value.

Other Terms

Please see the ChallengePost Terms of Service for voting rules and other terms that apply to your participation.