ebf03993c2dcb21552fbc19acb7598443d7d59ef
# [3.0.0](https://github.com/freeCodeCamp/curriculum/compare/v2.0.0...v3.0.0) (2018-06-29) ### Bug Fixes * **challenge:** Fixed the typo for automatically ([#48](https://github.com/freeCodeCamp/curriculum/issues/48)) ([dd046d6
](https://github.com/freeCodeCamp/curriculum/commit/dd046d6)) * **challenge:** Updated tests to avoid confusion ([#57](https://github.com/freeCodeCamp/curriculum/issues/57)) ([7105507
](https://github.com/freeCodeCamp/curriculum/commit/7105507)) * **challenges:** change test for template literals challenge ([#37](https://github.com/freeCodeCamp/curriculum/issues/37)) ([4b1c5eb
](https://github.com/freeCodeCamp/curriculum/commit/4b1c5eb)) * **challenges:** cherry pick pr 17664 & 17672 from main repo ([#52](https://github.com/freeCodeCamp/curriculum/issues/52)) ([2375d0c
](https://github.com/freeCodeCamp/curriculum/commit/2375d0c)) * **challenges:** fixed telephone number validator project ([#53](https://github.com/freeCodeCamp/curriculum/issues/53)) ([2b034e2
](https://github.com/freeCodeCamp/curriculum/commit/2b034e2)), closes [#47](https://github.com/freeCodeCamp/curriculum/issues/47) * **challenges:** fixed typo in css-grid.json ([#46](https://github.com/freeCodeCamp/curriculum/issues/46)) ([e74192e
](https://github.com/freeCodeCamp/curriculum/commit/e74192e)) * **challenges:** grammar fix in css-grid auto-fit challenge ([#60](https://github.com/freeCodeCamp/curriculum/issues/60)) ([a6a0266
](https://github.com/freeCodeCamp/curriculum/commit/a6a0266)) * **challenges:** Typo errors ([#39](https://github.com/freeCodeCamp/curriculum/issues/39)) ([0c0702d
](https://github.com/freeCodeCamp/curriculum/commit/0c0702d)) * **challenges:** update regular expression that fails ([#56](https://github.com/freeCodeCamp/curriculum/issues/56)) ([9fa5907
](https://github.com/freeCodeCamp/curriculum/commit/9fa5907)), closes [#55](https://github.com/freeCodeCamp/curriculum/issues/55) ### BREAKING CHANGES * **challenges:** None
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%