f41d021d7e1322485770e4c7da45c080dcd94c41
## [3.0.1](https://github.com/freeCodeCamp/curriculum/compare/v3.0.0...v3.0.1) (2018-06-30) ### Bug Fixes * **challenges:** change comment to make it clearer ([#72](https://github.com/freeCodeCamp/curriculum/issues/72)) ([46fcf43
](https://github.com/freeCodeCamp/curriculum/commit/46fcf43)) * **challenges:** fix a test case in an Applied Accessibility ([4c0d587
](https://github.com/freeCodeCamp/curriculum/commit/4c0d587)) * **challenges:** remove unnecessary test cases ([17af3dd
](https://github.com/freeCodeCamp/curriculum/commit/17af3dd)) * **challenges:** removed a test in basic javascript challenge ([#76](https://github.com/freeCodeCamp/curriculum/issues/76)) ([ff26697
](https://github.com/freeCodeCamp/curriculum/commit/ff26697)), closes [#73](https://github.com/freeCodeCamp/curriculum/issues/73) * **challenges:** removed comment in the seed ([6a8a9db
](https://github.com/freeCodeCamp/curriculum/commit/6a8a9db)) * **challenges:** removed redundant text from challenge ([c37a1e8
](https://github.com/freeCodeCamp/curriculum/commit/c37a1e8)), closes [#36](https://github.com/freeCodeCamp/curriculum/issues/36)
freeCodeCamp Curriculum
This package contains the "challenge" files used in the freeCodeCamp Curriculum.
Installation
npm i @freecodecamp/curriculum
# or
yarn add @freecodecamp/curriculum
Usage
import { getChallenges } from '@freecodecamp/curriculum';
// fetch an array of blocks
// i.e. basic CSS, functional programming, etc.
getChallenges()
block
Structure
{
"name": "ES6",
"order": 2,
"time": "5 hours",
"helpRoom": "Help",
"challenges": [/*<challenge>*/],
"fileName": "02-javascript-algorithms-and-data-structures/es6.json",
"superBlock": "javascript-algorithms-and-data-structures",
"superOrder": 2
}
challenge
Structure
{
"id": "ObjectId()",
"title": "Declare a Read-Only Variable with the const Keyword",
"description": [
"A Description of the challenge and what is required to pass"
],
"tests": [
{
"text": "should return \"foo\"",
"testString": "a stringified function using Chai asserts"
}
],
"challengeType": 1,
"translations": {},
"files": {
"indexjs": {
"key": "indexjs",
"ext": "js",
"name": "index",
"contents": [
"Initial editor seed"
],
"head": [
"A place for test set up",
"Can be thought of as mocha's beforeEach()"
],
"tail": [
"A place for test tear down",
"Can be thought of as mocha's afterEach()"
]
}
}
},
Contributing
- 🍴 Fork this repo
- 👀️ Follow the contributing guidelines outlined in Contributing Guidelines.
- 🔧 Make some awesome changes!
- 👉 Make a pull request
- 🎉 Get your pull request approved - success!
License
Copyright (c) 2018 freeCodeCamp.
The curricular content in this repo is licensed under the CC-BY-SA-4.0
Description
freeCodeCamp.org's open-source codebase and curriculum. Learn to code for free.
careerscertificationcommunitycurriculumd3educationfreecodecamphacktoberfestjavascriptlearn-to-codemathnodejsnonprofitsprogrammingreactteachers
Readme
503 MiB
Languages
JavaScript
47.2%
TypeScript
46.3%
CSS
6.1%
Shell
0.2%
Dockerfile
0.1%
Other
0.1%