diff --git a/README.md b/README.md index 3f4ae92..4ec1653 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,18 @@ -# Practice JavaScript using game stuffs +# Practice JavaScript using this fun game [ ![Codeship Status for PracticeJavaScript/practicejavascript.com](https://app.codeship.com/projects/091c0e50-0a7c-0135-8b3c-6ed4d7e33e57/status?branch=master)](https://app.codeship.com/projects/214753) [![Build Status](https://travis-ci.org/PracticeJavaScript/practicejavascript.com.svg?branch=master)](https://travis-ci.org/PracticeJavaScript/practicejavascript.com) -- Should be rote, easy problems, to exercise mastery, rather than solving brain puzzles like other sites +![ScreenShot of practicejavascript.com](https://cldup.com/I24bQvI37L.png) + +## Principles +- Fast, easy to start. No delays. +- Keep it simple. As few visual elements as possible. +- Never leave the keyboard. +- Fast and rewarding feedback loop like a mobile game. Obey ["Doherty Threshold"](http://daverupert.com/2015/06/doherty-threshold/) + + +- True katas should be rote, easy problems, solved a variety of ways, to exercise mastery, rather than solving longer brain puzzles like other sites - Should be solvable in under 30 seconds each diff --git a/src/problems/arrays.js b/src/problems/arrays.js index d339584..859dca3 100644 --- a/src/problems/arrays.js +++ b/src/problems/arrays.js @@ -472,7 +472,7 @@ module.exports = [ { name: 'Array.filter()', time: 10, - prompt: `return an array of the numbers greater than 5 in 'fruits' using 'Array.filter()'`, + prompt: `Return an array of the numbers greater than 5 in 'fruits' using 'Array.filter()'`, given: `const numbers = [1, 1, 2, 3, 5, 8, 13, 21];\r`, answer: `const numbers = [1, 1, 2, 3, 5, 8, 13, 21]; const overFive = numbers.filter(num => num > 5);