9fa5907da09a6b55e390c96aa783ed93e5a0149c
* fix(challenges): update regular expression that fails Changes regular expression in testString to remove negative look behind that is not implemented across all browsers. ISSUES CLOSED: #55 * Fixed line spacing It is definitely something to do with a linter. I re-ran the `npm run commit` in my own environment and watched the line spacing jump. Should probably be checked if it ends up happening to others. However, this should fix it all for this PR! * Back to `prettier` formatting Reverting back to pretty formatting from commit.
freeCodeCamp Curriculum
This package contains the "seed" 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()"
]
}
}
},
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%