GithubHelp home page GithubHelp logo

iamhelltoday / javascript-koans Goto Github PK

View Code? Open in Web Editor NEW

This project forked from safjanowski/javascript-koans

0.0 2.0 0.0 3.04 MB

Koans to learn Javascript

License: MIT License

JavaScript 93.39% HTML 2.27% CSS 4.21% Shell 0.14%

javascript-koans's Introduction

Javascript Koans – the good bits

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 app/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 from console

In the root folder of dowloaded repository run npm install – than grunt server.

Grunt server will open your browser with address 127.0.0.1:9000

The first error will be in app/koans/AboutExpects.js. Fix it and enjoy with automaticly fefresh page. If you see green light – you can go forward otherwise – fix current test.

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

Changelog

  • v4 - Jan 2014 - Update project to use GruntJS
  • 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

Inspirations & thanks

  • 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

Requirments

  • NodeJS >=0.8.0
License

This software is (c) 2010 David Laing, Greg Malcolm & Krzysztof Safjanowski, and licensed under the MIT license (see LICENCE for details). Enjoy!

javascript-koans's People

Contributors

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

Watchers

James Cloos avatar Diabolus ipsum 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.