GithubHelp home page GithubHelp logo

natarajanbala / javascript-koans Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mrdavidlaing/javascript-koans

1.0 1.0 0.0 3.02 MB

Koans to learn Javascript

License: MIT License

JavaScript 93.81% CSS 4.23% Shell 0.14% HTML 1.81%

javascript-koans's Introduction

javascript-koans

Based on Edgecase's fantastic Ruby koans, the goal of the Javascript koans is to teach you Javascript programming through testing.

When you first run the koans, you'll be presented with a runtime error and a stack trace indicating where the error occurred. Your goal is to make the error go away. As you fix each error, you should learn something about the Javascript language and functional programming in general.

Your journey towards Javascript enlightenment starts in the koans/AboutExpects.js file. These koans will be very simple, so don't overthink them! As you progress through more koans, more and more Javascript syntax will be introduced which will allow you to solve more complicated problems and use more advanced techniques.

Running the Koans

Simply navigate to the Javascript Koans folder using a file browser, and double click on KoansRunnner.html.

Any browser will do, but for the best results Firefox or Chrome is recommended. More stack trace information shows up for javascript on these browsers.

The first error will be in koans/AboutExpects.js. Fix the first test and refresh the browser. Rinse and repeat until all tests turn green.

The test runner used is Jasmine with a customized report viewer.

Changelog

  • v3 - Nov 2010 - Moved out of branch of functional-koans project, into own top level project
  • v2 - Sept 2010 - Second version based on jasmine (Thanks Greg Malcolm!)
  • v1 - July 2010 - First version based on jsTestDriver

Acknowledgements

  • Dick Wall (the Java posse) - for bringing the idea of koans to my attention
  • Edgecase - for the great Ruby Koans
  • Douglas Crockford - for Javascript; the good bits

javascript-koans's People

Contributors

choskim avatar gregmalcolm avatar jonasac avatar magopian avatar minikomi avatar morty avatar mraaroncruz avatar mrdavidlaing avatar nfiniteset avatar stevehorn avatar sunesimonsen avatar ultrasaurus avatar useffc avatar wyattdanger avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.