add type to challenges

This commit is contained in:
Berkeley Martinez
2015-08-07 23:37:32 -07:00
parent f241a362d5
commit 26e69c8621
20 changed files with 535 additions and 267 deletions

View File

@ -16,6 +16,9 @@
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"dashedName": {
"type": "string"
},

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "a2f1d72d9b908d0bd72bb9f6",
"title": "Bonfire: Make a Person",
"title": "Make a Person",
"difficulty": "3.01",
"description": [
"Fill in the object constructor with the methods specified in the tests.",
@ -41,6 +41,7 @@
"Closures",
"Details of the Object Model"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -55,7 +56,7 @@
},
{
"id": "af4afb223120f7348cdfc9fd",
"title": "Bonfire: Map the Debris",
"title": "Map the Debris",
"difficulty": "3.02",
"description": [
"Return a new array that transforms the element's average altitude into their orbital periods.",
@ -81,6 +82,7 @@
"MDNlinks": [
"Math.pow()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -95,7 +97,7 @@
},
{
"id": "a3f503de51cfab748ff001aa",
"title": "Bonfire: Pairwise",
"title": "Pairwise",
"difficulty": "3.03",
"description": [
"Return the sum of all indices of elements of 'arr' that can be paired with one other element to form a sum that equals the value in the second argument 'arg'. If multiple sums are possible, return the smallest sum. Once an element has been used, it cannot be reused to pair with another.",
@ -120,6 +122,7 @@
"MDNlinks": [
"Array.reduce()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "bd7154d8c441eddfaeb5bdef",
"title": "Waypoint: Get Started with Angular.js",
"title": "Get Started with Angular.js",
"difficulty": 0.34,
"challengeSeed": ["114684726"],
"description": [
@ -12,6 +12,7 @@
"In this course, we'll build a virtual shop entirely in Angular.js.",
"Go to <a href='http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/1/section/1/video/1' target='_blank'>http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/1/section/1/video/1</a> and complete the section."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -27,7 +28,7 @@
},
{
"id": "bd7155d8c441eddfaeb5bdef",
"title": "Waypoint: Apply Angular.js Directives",
"title": "Apply Angular.js Directives",
"difficulty": 0.35,
"challengeSeed": ["114684727"],
"description": [
@ -35,6 +36,7 @@
"Let's learn how these powerful directives work, and how to use them to make your web apps more dynamic",
"Go to <a href='http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/2/section/1/video/1' target='_blank'>http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/2/section/1/video/1</a> and complete the section."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -50,7 +52,7 @@
},
{
"id": "bd7156d8c441eddfaeb5bdef",
"title": "Waypoint: Power Forms with Angular.js",
"title": "Power Forms with Angular.js",
"difficulty": 0.36,
"challengeSeed": ["114684729"],
"description": [
@ -58,6 +60,7 @@
"Learn how to create reactive Angular.js forms, including real-time form validation.",
"Go to <a href='http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/3/section/1/video/1' target='_blank'>http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/3/section/1/video/1</a> and complete the section."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -73,13 +76,14 @@
},
{
"id": "bd7157d8c441eddfaeb5bdef",
"title": "Waypoint: Customize Angular.js Directives",
"title": "Customize Angular.js Directives",
"difficulty": 0.37,
"challengeSeed": ["114685062"],
"description": [
"Now we'll learn how to modify existing Angular.js directives, and even build directives of your own.",
"Go to <a href='http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/4/section/1/video/1' target='_blank'>http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/4/section/1/video/1</a> and complete the section."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -95,7 +99,7 @@
},
{
"id": "bd7158d8c441eddfaeb5bdef",
"title": "Waypoint: Create Angular.js Services",
"title": "Create Angular.js Services",
"difficulty": 0.38,
"challengeSeed": ["114685060"],
"description": [
@ -103,6 +107,7 @@
"We'll learn how to use services in this final Code School Angular.js challenge.",
"Go to <a href='http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/5/section/1/video/1' target='_blank'>http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/5/section/1/video/1</a> and complete the section."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "bd7158d8c443eddfaeb5bcef",
"title": "Waypoint: Get Set for Basejumps",
"title": "Get Set for Basejumps",
"difficulty": 2.00,
"challengeSeed": ["128451852"],
"description": [
@ -59,12 +59,13 @@
"If you need further guidance on using Yeoman Angular-Fullstack Generator, check out: <a href='https://github.com/clnhll/guidetobasejumps' target='_blank'>https://github.com/clnhll/guidetobasejumps</a>.",
"Now you're ready to move on to your first Basejump. Click the \"I've completed this challenge\" and move on."
],
"type": "waypoint",
"challengeType": 2,
"tests": []
},
{
"id": "bd7158d8c443eddfaeb5bdef",
"title": "Basejump: Build a Voting App",
"title": "Build a Voting App",
"difficulty": 2.01,
"challengeSeed": ["133315786"],
"description": [
@ -85,6 +86,7 @@
"Once you've finished implementing these user stories, click the \"I've completed this challenge\" button and enter the URLs for both your GitHub repository and your live app running on Heroku. If you pair programmed with a friend, enter his or her Free Code Camp username as well so that you both get credit for completing it.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your Heroku project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "basejumps",
"challengeType": 4,
"tests": [],
"nameCn": "",
@ -100,7 +102,7 @@
},
{
"id": "bd7158d8c443eddfaeb5bdff",
"title": "Basejump: Build a Nightlife Coordination App",
"title": "Build a Nightlife Coordination App",
"difficulty": 2.02,
"challengeSeed": ["133315781"],
"description": [
@ -118,6 +120,7 @@
"Once you've finished implementing these user stories, click the \"I've completed this challenge\" button and enter the URLs for both your GitHub repository and your live app running on Heroku. If you pair programmed with a friend, enter his or her Free Code Camp username as well so that you both get credit for completing it.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your Heroku project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "basejumps",
"challengeType": 4,
"tests": [],
"nameCn": "",
@ -133,7 +136,7 @@
},
{
"id": "bd7158d8c443eddfaeb5bd0e",
"title": "Basejump: Chart the Stock Market",
"title": "Chart the Stock Market",
"difficulty": 2.03,
"challengeSeed": ["133315787"],
"description": [
@ -150,6 +153,7 @@
"Once you've finished implementing these user stories, click the \"I've completed this challenge\" button and enter the URLs for both your GitHub repository and your live app running on Heroku. If you pair programmed with a friend, enter his or her Free Code Camp username as well so that you both get credit for completing it.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your Heroku project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "basejumps",
"challengeType": 4,
"tests": [],
"nameCn": "",
@ -165,7 +169,7 @@
},
{
"id": "bd7158d8c443eddfaeb5bd0f",
"title": "Basejump: Manage a Book Trading Club",
"title": "Manage a Book Trading Club",
"difficulty": 2.04,
"challengeSeed": ["133316032"],
"description": [
@ -182,6 +186,7 @@
"Once you've finished implementing these user stories, click the \"I've completed this challenge\" button and enter the URLs for both your GitHub repository and your live app running on Heroku. If you pair programmed with a friend, enter his or her Free Code Camp username as well so that you both get credit for completing it.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your Heroku project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "basejumps",
"challengeType": 4,
"tests": [],
"nameCn": "",
@ -197,7 +202,7 @@
},
{
"id": "bd7158d8c443eddfaeb5bdee",
"title": "Basejump: Build a Pinterest Clone",
"title": "Build a Pinterest Clone",
"difficulty": 2.05,
"challengeSeed": ["133315784"],
"description": [
@ -217,6 +222,7 @@
"Once you've finished implementing these user stories, click the \"I've completed this challenge\" button and enter the URLs for both your GitHub repository and your live app running on Heroku. If you pair programmed with a friend, enter his or her Free Code Camp username as well so that you both get credit for completing it.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your Heroku project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "basejumps",
"challengeType": 4,
"tests": [],
"nameCn": "",

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "bd7139d8c441eddfaeb5bdef",
"title": "Waypoint: Pair Program on Bonfires",
"title": "Pair Program on Bonfires",
"difficulty": 0.44,
"challengeSeed": [
"119657641"
@ -28,6 +28,7 @@
"Pair program as much as possible with different campers until you've completed all the Bonfire challenges. This is a big time investment, but the JavaScript practice you get will be well worth it!",
"Mark this Waypoint complete and move on."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -43,7 +44,7 @@
},
{
"id": "ad7123c8c441eddfaeb5bdef",
"title": "Bonfire: Meet Bonfire",
"title": "Meet Bonfire",
"difficulty": "0",
"description": [
"Your goal is to fix the failing test.",
@ -67,6 +68,7 @@
"",
"meetBonfire(\"You can do this!\");"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -81,7 +83,7 @@
},
{
"id": "a202eed8fc186c8434cb6d61",
"title": "Bonfire: Reverse a String",
"title": "Reverse a String",
"difficulty": "1.01",
"tests": [
"expect(reverseString('hello')).to.be.a('String');",
@ -108,6 +110,7 @@
"Array.reverse()",
"Array.join()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -122,7 +125,7 @@
},
{
"id": "a302f7aae1aa3152a5b413bc",
"title": "Bonfire: Factorialize a Number",
"title": "Factorialize a Number",
"tests": [
"expect(factorialize(5)).to.be.a(\"Number\");",
"expect(factorialize(5)).to.equal(120);",
@ -147,6 +150,7 @@
"MDNlinks": [
"Arithmetic Operators"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -161,7 +165,7 @@
},
{
"id": "aaa48de84e1ecc7c742e1124",
"title": "Bonfire: Check for Palindromes",
"title": "Check for Palindromes",
"difficulty": "1.03",
"description": [
"Return true if the given string is a palindrome. Otherwise, return false.",
@ -194,6 +198,7 @@
"String.replace()",
"String.toLowerCase()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -208,7 +213,7 @@
},
{
"id": "a26cbbe9ad8655a977e1ceb5",
"title": "Bonfire: Find the Longest Word in a String",
"title": "Find the Longest Word in a String",
"difficulty": "1.04",
"description": [
"Return the length of the longest word in the provided sentence.",
@ -233,6 +238,7 @@
"String.split()",
"String.length"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -247,7 +253,7 @@
},
{
"id": "ab6137d4e35944e21037b769",
"title": "Bonfire: Title Case a Sentence",
"title": "Title Case a Sentence",
"difficulty": "1.05",
"description": [
"Return the provided string with the first letter of each word capitalized.",
@ -270,6 +276,7 @@
"MDNlinks": [
"String.charAt()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -284,7 +291,7 @@
},
{
"id": "a789b3483989747d63b0e427",
"title": "Bonfire: Return Largest Numbers in Arrays",
"title": "Return Largest Numbers in Arrays",
"difficulty": "1.06",
"description": [
"Return an array consisting of the largest number from each provided sub-array. For simplicity, the provided array will contain exactly 4 sub-arrays.",
@ -308,6 +315,7 @@
"MDNlinks": [
"Comparison Operators"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -322,7 +330,7 @@
},
{
"id": "acda2fb1324d9b0fa741e6b5",
"title": "Bonfire: Confirm the Ending",
"title": "Confirm the Ending",
"difficulty": "1.07",
"description": [
"Check if a string (first argument) ends with the given target string (second argument).",
@ -347,6 +355,7 @@
"MDNlinks": [
"String.substr()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -361,7 +370,7 @@
},
{
"id": "afcc8d540bea9ea2669306b6",
"title": "Bonfire: Repeat a string repeat a string",
"title": "Repeat a string repeat a string",
"difficulty": "1.08",
"description": [
"Repeat a given string (first argument) n times (second argument). Return an empty string if n is a negative number.",
@ -383,6 +392,7 @@
"MDNlinks": [
"Global String Object"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -397,7 +407,7 @@
},
{
"id": "ac6993d51946422351508a41",
"title": "Bonfire: Truncate a string",
"title": "Truncate a string",
"difficulty": "1.09",
"description": [
"Truncate a string (first argument) if it is longer than the given maximum string length (second argument). Return the truncated string with a '...' ending.",
@ -421,6 +431,7 @@
"MDNlinks": [
"String.slice()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -435,7 +446,7 @@
},
{
"id": "a9bd25c716030ec90084d8a1",
"title": "Bonfire: Chunky Monkey",
"title": "Chunky Monkey",
"difficulty": "1.10",
"description": [
"Write a function that splits an array (first argument) into groups the length of size (second argument) and returns them as a multidimensional array.",
@ -458,6 +469,7 @@
"MDNlinks": [
"Array.push()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -472,7 +484,7 @@
},
{
"id": "ab31c21b530c0dafa9e241ee",
"title": "Bonfire: Slasher Flick",
"title": "Slasher Flick",
"difficulty": "1.11",
"description": [
"Return the remaining elements of an array after chopping off n elements from the head.",
@ -495,6 +507,7 @@
"Array.slice()",
"Array.splice()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -509,7 +522,7 @@
},
{
"id": "af2170cad53daa0770fabdea",
"title": "Bonfire: Mutations",
"title": "Mutations",
"difficulty": "1.12",
"description": [
"Return true if the string in the first element of the array contains all of the letters of the string in the second element of the array.",
@ -537,6 +550,7 @@
"MDNlinks": [
"Array.indexOf()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -551,7 +565,7 @@
},
{
"id": "adf08ec01beb4f99fc7a68f2",
"title": "Bonfire: Falsey Bouncer",
"title": "Falsey Bouncer",
"difficulty": "1.50",
"description": [
"Remove all falsey values from an array.",
@ -575,6 +589,7 @@
"Boolean Objects",
"Array.filter()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -589,7 +604,7 @@
},
{
"id": "a8e512fbe388ac2f9198f0fa",
"title": "Bonfire: Where art thou",
"title": "Where art thou",
"difficulty": "1.55",
"description": [
"Make a function that looks through an array (first argument) and returns an array of all objects that have equivalent property values (second argument).",
@ -613,6 +628,7 @@
"Object.hasOwnProperty()",
"Object.keys()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -627,7 +643,7 @@
},
{
"id": "a39963a4c10bc8b4d4f06d7e",
"title": "Bonfire: Seek and Destroy",
"title": "Seek and Destroy",
"difficulty": "1.60",
"description": [
"You will be provided with an initial array (the first argument in the destroyer function), followed by one or more arguments. Remove all elements from the initial array that are of the same value as these arguments.",
@ -652,6 +668,7 @@
"Arguments object",
"Array.filter()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -666,7 +683,7 @@
},
{
"id": "a24c1a4622e3c05097f71d67",
"title": "Bonfire: Where do I belong",
"title": "Where do I belong",
"difficulty": "1.61",
"description": [
"Return the lowest index at which a value (second argument) should be inserted into a sorted array (first argument).",
@ -688,6 +705,7 @@
"expect(where([10, 20, 30, 40, 50], 35)).to.equal(3);",
"expect(where([10, 20, 30, 40, 50], 30)).to.equal(2);"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id":"bd7123c9c441eddfaeb4bdef",
"title": "Waypoint: Comment your JavaScript Code",
"title": "Comment your JavaScript Code",
"difficulty":"9.98",
"description":[
"A comment is a very useful line of code that is not actually ran by the machine executing it. With this property comments are the perfect way of creating notes to yourself or anyone else who reads your code describing what the code does",
@ -23,11 +23,12 @@
],
"challengeSeed":[
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bd7123c9c441eddfaeb5bdef",
"title": "Waypoint: Understand Boolean Values",
"title": "Understand Boolean Values",
"difficulty": "9.98001",
"description": [
"Return true",
@ -48,11 +49,12 @@
"",
"welcomeToBooleans();"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bd7123c9c443eddfaeb5bdef",
"title": "Waypoint: Declare JavaScript Variables",
"title": "Declare JavaScript Variables",
"difficulty": "9.9801",
"description": [
"Now, use the <code>var</code> keyword to create a <code>variable</code> called <code>myName</code>. Set its value to your name.",
@ -74,11 +76,12 @@
"",
"if(typeof(myName) !== 'undefined'){(function(v){return(v);})(myName);}"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bd7123c9c444eddfaeb5bdef",
"title": "Waypoint: Declare String Variables",
"title": "Declare String Variables",
"difficulty": "9.9802",
"description": [
"Programs will almost always have several different variables that are used to keep track of several different pieces of data",
@ -100,11 +103,12 @@
"// We'll learn about functions soon.",
"if(typeof(myFirstName) !== 'undefined' && typeof(myLastName) !== 'undefined'){(function(y,z){return(y + ', ' + z);})(myFirstName, myLastName);}"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bd7123c9c448eddfaeb5bdef",
"title": "Waypoint: Check the Length Property of a String Variable",
"title": "Check the Length Property of a String Variable",
"difficulty": "9.9809",
"description": [
"Use the <code>.length</code> property to count the number of characters in the <code>lastNameLength</code> variable.",
@ -132,11 +136,12 @@
"// We'll learn about functions soon.",
"if(typeof(lastNameLength) != 'undefined'){(function(v){return(v);})(lastNameLength);}"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bd7123c9c549eddfaeb5bdef",
"title": "Waypoint: Use Bracket Notation to Find the First Character in a String",
"title": "Use Bracket Notation to Find the First Character in a String",
"difficulty": "9.9810",
"description": [
"Use <code>bracket notation</code> to find the first character in a the <code>firstLetterOfLastName</code> variable.",
@ -166,11 +171,12 @@
"// We'll learn about functions soon.",
"(function(v){return(v);})(firstLetterOfLastName);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bd7123c9c450eddfaeb5bdef",
"title": "Waypoint: Use Bracket Notation to Find the Nth Character in a String",
"title": "Use Bracket Notation to Find the Nth Character in a String",
"difficulty": "9.9811",
"description": [
"Just like the last lesson where we used <code>Bracket Notation</code>to access the first letter we can use the same method to get the letters ar other positions",
@ -196,11 +202,12 @@
"// We'll learn about functions soon.",
"(function(v){return(v);})(thirdLetterOfLastName);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bd7123c9c451eddfaeb5bdef",
"title": "Waypoint: Use Bracket Notation to Find the Last Character in a String",
"title": "Use Bracket Notation to Find the Last Character in a String",
"difficulty": "9.9812",
"description": [
"Use <code>bracket notation</code> to find the last character in the <code>lastName</code> variable.",
@ -225,11 +232,12 @@
"",
"(function(v){return(v);})(lastLetterOfLastName);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bd7123c9c452eddfaeb5bdef",
"title": "Waypoint: Use Bracket Notation to Find the Nth-to-Last Character in a String",
"title": "Use Bracket Notation to Find the Nth-to-Last Character in a String",
"difficulty": "9.9813",
"description": [
"Use <code>bracket notation</code> to find the second-to-last character in the <code>lastName</code> variable.",
@ -254,11 +262,12 @@
"",
"(function(v){return(v);})(secondToLastLetterOfLastName);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "cf1111c1c11feddfaeb3bdef",
"title": "Waypoint: Add Two Numbers with JavaScript",
"title": "Add Two Numbers with JavaScript",
"difficulty": "9.98141",
"description": [
"In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions",
@ -276,11 +285,12 @@
"",
"(function(z){return('add='+z);})(add);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "cf1111c1c11feddfaeb4bdef",
"title": "Waypoint: Subtract One Number from Another with JavaScript",
"title": "Subtract One Number from Another with JavaScript",
"difficulty": "9.98142",
"description": [
"In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions",
@ -298,11 +308,12 @@
"",
"(function(z){return('subtract='+z);})(subtract);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "cf1231c1c11feddfaeb5bdef",
"title": "Waypoint: Multiply Two Numbers with JavaScript",
"title": "Multiply Two Numbers with JavaScript",
"difficulty": "9.98143",
"description": [
"In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions",
@ -320,11 +331,12 @@
"",
"(function(z){return('multiply='+z);})(multiply);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "cf1111c1c11feddfaeb6bdef",
"title": "Waypoint: Divide One Number by Another with JavaScript",
"title": "Divide One Number by Another with JavaScript",
"difficulty": "9.9814",
"description": [
"In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions",
@ -342,11 +354,12 @@
"",
"(function(z){return('divide='+z);})(divide);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "cf1391c1c11feddfaeb4bdef",
"title": "Waypoint: Create Decimal Numbers with JavaScript",
"title": "Create Decimal Numbers with JavaScript",
"difficulty": "9.9815",
"description": [
"in JavaScript we can can work with decimal numbers",
@ -364,11 +377,12 @@
"",
"(function(){if(typeof(myDecimal) != 'undefined'){return(myDecimal);}})();"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bd7993c9c69feddfaeb7bdef",
"title": "Waypoint: Perform Arithmetic Operations on Decimals with JavaScript",
"title": "Perform Arithmetic Operations on Decimals with JavaScript",
"difficulty": "9.98151",
"description": [
"In JavaScript we can can work with decimal numbers."
@ -385,11 +399,12 @@
"",
"(function(y,z){return('multiply='+y+', divide='+z);})(multiply,divide);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bd7993c9c69feddfaeb8bdef",
"title": "Waypoint: Store Multiple Values in one Variable using JavaScript Arrays",
"title": "Store Multiple Values in one Variable using JavaScript Arrays",
"difficulty": "9.9816",
"description": [
"In JavaScript we can store lists or collections of data in what are called arrays",
@ -411,11 +426,12 @@
"",
"(function(z){return(z);})(myArray);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"cf1111c1c11feddfaeb7bdef",
"title": "Waypoint: Nest one Array within Another Array",
"title": "Nest one Array within Another Array",
"difficulty":"9.98161",
"description":[
"We are also able to create arrays within arrays. This technique is called <code>nesting</code>.",
@ -430,11 +446,12 @@
"",
"if(typeof(myArray) !== 'undefined'){(function(){return(myArray);})();}"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"bg9997c9c79feddfaeb9bdef",
"title": "Waypoint: Access Array Data with Indexes",
"title": "Access Array Data with Indexes",
"difficulty":"9.9817",
"description":[
"Once an array has been created we can access the data we have stored in them using indexes",
@ -460,11 +477,12 @@
"",
"if(typeof(myArray) != 'undefined' && typeof(data) != 'undefined'){(function(y,z){return('myArray = ' + JSON.stringify(y) + ', data = ' + JSON.stringify(z));})(myArray, data);}"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"cf1111c1c11feddfaeb8bdef",
"title": "Waypoint: Modify Array Data With Indexes",
"title": "Modify Array Data With Indexes",
"difficulty":"9.98171",
"description":[
"We are able to modify the data stored in an array by using indexes",
@ -491,11 +509,12 @@
"",
"if(typeof(myArray) != 'undefined'){(function(){return(myArray);})();}"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bg9994c9c69feddfaeb9bdef",
"title": "Waypoint: Manipulate Arrays With pop()",
"title": "Manipulate Arrays With pop()",
"difficulty": "9.9818",
"description": [
"When an array has been defined we still have the ability to make changes to it afterwards",
@ -521,11 +540,12 @@
"",
"(function(y, z){return('myArray = ' + JSON.stringify(y) + ' & removed = ' + JSON.stringify(z));})(myArray, removed);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bg9995c9c69feddfaeb9bdef",
"title": "Waypoint: Manipulate Arrays With push()",
"title": "Manipulate Arrays With push()",
"difficulty": "9.9818",
"description": [
"Now that we've learned how to <code>pop</code>things from the end of the array, we need to learn how to <code>push</code>stuff back to the end",
@ -542,11 +562,12 @@
"",
"(function(z){return('myArray = ' + JSON.stringify(z));})(myArray);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bg9996c9c69feddfaeb9bdef",
"title": "Waypoint: Manipulate Arrays With shift()",
"title": "Manipulate Arrays With shift()",
"difficulty": "9.9817",
"description": [
"Another common way in which we can manipulate the data in an array is through <code>.shift() </code>",
@ -564,11 +585,12 @@
"",
"(function(y, z){return('myArray = ' + JSON.stringify(y) + ' & removed = ' + JSON.stringify(z));})(myArray, removed);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id": "bg9997c9c69feddfaeb9bdef",
"title": "Waypoint: Manipulate Arrays With unshift()",
"title": "Manipulate Arrays With unshift()",
"difficulty": "9.9818",
"description": [
"Now that we've learned how to <code>shift</code>things from the start of the array, we need to learn how to <code>unshift</code>stuff back to the start",
@ -585,11 +607,12 @@
"",
"(function(y, z){return('myArray = ' + JSON.stringify(y));})(myArray);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"bg9997c9c89feddfaeb9bdef",
"title": "Waypoint: Write Reusable JavaScript with Functions",
"title": "Write Reusable JavaScript with Functions",
"difficulty":"9.9819",
"description":[
"In JavaScript we can divide up our code into separate and reusable parts called functions",
@ -621,11 +644,12 @@
"(function(){return(f);})();",
"}"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"bg9998c9c99feddfaeb9bdef",
"title": "Waypoint: Build JavaScript Objects",
"title": "Build JavaScript Objects",
"difficulty":"9.9822",
"description":[
"A very important data type in javascript is the <code>Object</code>",
@ -665,11 +689,12 @@
"",
"(function(z){return(z);})(myDog);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"bg9999c9c99feddfaeb9bdef",
"title": "Waypoint: Manipulate JavaScript Objects",
"title": "Manipulate JavaScript Objects",
"difficulty":"9.9823",
"description":[
"Now that we have an objects we need to know how to add and remove properties from it",
@ -709,11 +734,12 @@
"",
"(function(z){return(z);})(myDog);"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"cf1111c1c11feddfaeb5bdef",
"title": "Waypoint: Iterate with JavaScript For Loops",
"title": "Iterate with JavaScript For Loops",
"difficulty":"9.9824",
"description":[
"Loops are a critical part of any program! The next few challenges",
@ -737,11 +763,12 @@
"",
""
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"cf1111c1c11feddfaeb1bdef",
"title": "Waypoint: Iterate with JavaScript While Loops",
"title": "Iterate with JavaScript While Loops",
"difficulty":"9.9825",
"description":[
"Loops are a critical part of any program! The next few challenges",
@ -766,11 +793,12 @@
"",
""
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"cf1111c1c11feddfaeb2bdef",
"title": "Waypoint: Iterate with JavaScript Do-While Loops",
"title": "Iterate with JavaScript Do-While Loops",
"difficulty":"9.9826",
"description":[
"Let's now take a look at the do - while loop",
@ -795,11 +823,12 @@
"",
""
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"cf1111c1c11feddfaeb9bdef",
"title": "Waypoint: Generate Random Fractions with JavaScript",
"title": "Generate Random Fractions with JavaScript",
"difficulty":"9.9827",
"description":[
"Random numbers are very useful for creating random behaviours and games",
@ -820,11 +849,12 @@
"",
"(function(){return(myFunction());})();"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"cf1111c1c12feddfaeb1bdef",
"title": "Waypoint: Generate Random Whole Numbers with JavaScript",
"title": "Generate Random Whole Numbers with JavaScript",
"difficulty":"9.9828",
"description":[
"While it's great that we can create random decimal numbers it's a lot more useful to generate a random whole number",
@ -848,11 +878,12 @@
"",
"(function(){return(myFunction());})();"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"cf1111c1c12feddfaeb2bdef",
"title": "Waypoint: Generate Random Whole Numbers within a Range",
"title": "Generate Random Whole Numbers within a Range",
"difficulty":"9.9829",
"description":[
"We can use a certain mathematical expression to get a random number between between twp numbers.",
@ -875,11 +906,12 @@
"",
"(function(){return(myFunction());})();"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"cf1111c1c12feddfaeb3bdef",
"title": "Waypoint: Use Conditional Logic with If-Else Statements",
"title": "Use Conditional Logic with If-Else Statements",
"difficulty":"9.983",
"description":[
"We can use if statements in JavaScript to only execute code if a certain condition is met",
@ -908,11 +940,12 @@
"",
"(function(){return(myFunction());})();"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"cf1111c1c12feddfaeb6bdef",
"title": "Waypoint: Sift through Text with Regular Expressions",
"title": "Sift through Text with Regular Expressions",
"difficulty":"9.984",
"description":[
"RegEx is a powerful tool we can use to find certain words or patterns in strings",
@ -943,11 +976,12 @@
" return(testString.match(expression).length);",
"})();(function(){return(test);})();"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"cf1111c1c12feddfaeb7bdef",
"title": "Waypoint: Find Numbers with Regular Expressions",
"title": "Find Numbers with Regular Expressions",
"difficulty":"9.985",
"description":[
"We can use special selectors in RegEx to select a particular type of value",
@ -972,11 +1006,12 @@
" return(testString.match(expression).length);",
"})();(function(){return(test);})();"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"cf1111c1c12feddfaeb8bdef",
"title": "Waypoint: Find White Space with Regular Expressions",
"title": "Find White Space with Regular Expressions",
"difficulty":"9.986",
"description":[
"We can also use selectors like <code>\\s</code> to find spaces in a string",
@ -1000,11 +1035,12 @@
" return(testString.match(expression).length);",
"})();(function(){return(test);})();"
],
"type": "waypoint",
"challengeType": 1
},
{
"id":"cf1111c1c13feddfaeb3bdef",
"title": "Waypoint: Invert Regular Expression Matches with JavaScript",
"title": "Invert Regular Expression Matches with JavaScript",
"difficulty":"9.987",
"description":[
"Use <code>/\\S/gi;</code> to match everything that isn't a space in the string",
@ -1027,11 +1063,12 @@
" return(testString.match(expression).length);",
"})();(function(){return(test);})();"
],
"type": "waypoint",
"challengeType":1
},
{
"id":"cf1111c1c12feddfaeb9bdef",
"title": "Waypoint: Create a JavaScript Slot Machine",
"title": "Create a JavaScript Slot Machine",
"difficulty":"9.988",
"description":[
"We are now going to try and combine some of the stuff we've just learnt abd create the logic for a slot machine game",
@ -1180,11 +1217,12 @@
" }",
"</style>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id":"cf1111c1c13feddfaeb1bdef",
"title": "Waypoint: Add your JavaScript Slot Machine Slots",
"title": "Add your JavaScript Slot Machine Slots",
"difficulty":"9.989",
"description":[
"Now that we have our random numbers we need to go and check for when they are all the same that means we should count it as a win",
@ -1338,11 +1376,12 @@
" }",
"</style>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id":"cf1111c1c13feddfaeb2bdef",
"title": "Waypoint: Bring your JavaScript Slot Machine to Life",
"title": "Bring your JavaScript Slot Machine to Life",
"difficulty":"9.990",
"description":[
"Now we can detect a win let's get the slot machine to look like it works",
@ -1504,6 +1543,7 @@
" }",
"</style>"
],
"type": "waypoint",
"challengeType": 0
}
]

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "bd7158d8c442eddfbeb5bd1f",
"title": "Waypoint: Get Set for Ziplines",
"title": "Get Set for Ziplines",
"difficulty": 1.00,
"challengeSeed": ["125658022"],
"description": [
@ -23,6 +23,7 @@
"You can use this CodePen that you've just created as a starting point for your Ziplines. Just click the \"fork\" button at the top of your CodePen and it will create a duplicate CodePen.",
"Now you're ready for your first Zipline. Click the \"I've completed this challenge\" button."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -38,7 +39,7 @@
},
{
"id": "bd7158d8c242eddfaeb5bd13",
"title": "Zipline: Build a Personal Portfolio Webpage",
"title": "Build a Personal Portfolio Webpage",
"difficulty": 1.01,
"challengeSeed": ["133315782"],
"description": [
@ -58,6 +59,7 @@
"When you are finished, click the \"I've completed this challenge\" button and include a link to your CodePen. If you pair programmed, you should also include the Free Code Camp username of your pair.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your CodePen project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "zipline",
"challengeType": 3,
"tests": [],
"nameCn": "",
@ -73,7 +75,7 @@
},
{
"id": "bd7158d8c442eddfaeb5bd13",
"title": "Zipline: Build a Random Quote Machine",
"title": "Build a Random Quote Machine",
"difficulty": 1.02,
"challengeSeed": ["126415122"],
"description": [
@ -89,6 +91,7 @@
"When you are finished, click the \"I've completed this challenge\" button and include a link to your CodePen. If you pair programmed, you should also include the Free Code Camp username of your pair.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your CodePen project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "zipline",
"challengeType": 3,
"tests": [],
"nameCn": "",
@ -104,7 +107,7 @@
},
{
"id": "bd7158d8c442eddfaeb5bd10",
"title": "Zipline: Show the Local Weather",
"title": "Show the Local Weather",
"difficulty": 1.03,
"challengeSeed": ["126415127"],
"description": [
@ -121,6 +124,7 @@
"When you are finished, click the \"I've completed this challenge\" button and include a link to your CodePen. If you pair programmed, you should also include the Free Code Camp username of your pair.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your CodePen project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "zipline",
"challengeType": 3,
"tests": [],
"nameCn": "",
@ -136,7 +140,7 @@
},
{
"id": "bd7158d8c442eddfaeb5bd0f",
"title": "Zipline: Build a Pomodoro Clock",
"title": "Build a Pomodoro Clock",
"difficulty": 1.04,
"challengeSeed": ["126411567"],
"description": [
@ -152,6 +156,7 @@
"When you are finished, click the \"I've completed this challenge\" button and include a link to your CodePen. If you pair programmed, you should also include the Free Code Camp username of your pair.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your CodePen project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "zipline",
"challengeType": 3,
"tests": [],
"nameCn": "",
@ -167,7 +172,7 @@
},
{
"id": "bd7158d8c442eddfaeb5bd1f",
"title": "Zipline: Use the Twitch.tv JSON API",
"title": "Use the Twitch.tv JSON API",
"difficulty": 1.05,
"challengeSeed": ["126411564"],
"description": [
@ -187,6 +192,7 @@
"When you are finished, click the \"I've completed this challenge\" button and include a link to your CodePen. If you pair programmed, you should also include the Free Code Camp username of your pair.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your CodePen project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "zipline",
"challengeType": 3,
"tests": [],
"nameCn": "",

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "bad87fee1348bd9acde08712",
"title": "Waypoint: Use Responsive Design with Bootstrap Fluid Containers",
"title": "Use Responsive Design with Bootstrap Fluid Containers",
"difficulty": 2.01,
"description": [
"Now let's go back to our Cat Photo App. This time, we'll style it using the popular Bootstrap responsive CSS framework.",
@ -73,6 +73,7 @@
" <button type='submit'>Submit</button>",
"</form>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -87,7 +88,7 @@
},
{
"id": "bad87fee1348bd9acde08812",
"title": "Waypoint: Make Images Mobile Responsive",
"title": "Make Images Mobile Responsive",
"difficulty": 2.02,
"description": [
"First, Add a new image with the <code>src</code> attribute of \"http://bit.ly/fcc-kittens2\".",
@ -157,6 +158,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -171,7 +173,7 @@
},
{
"id": "bad87fee1348bd8acde08812",
"title": "Waypoint: Center Text with Bootstrap",
"title": "Center Text with Bootstrap",
"difficulty": 2.03,
"description": [
"Now that we're using Bootstrap, we can center our heading elements to make them look better. All we need to do is add the class <code>text-center</code> to our <code>h1</code> and <code>h2</code> elements.",
@ -239,6 +241,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -253,7 +256,7 @@
},
{
"id": "bad87fee1348cd8acdf08812",
"title": "Waypoint: Create a Bootstrap Button",
"title": "Create a Bootstrap Button",
"difficulty": 2.04,
"description": [
"Bootstrap has its own styles for <code>button</code> elements, which look much better than the plain HTML ones.",
@ -323,6 +326,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -337,7 +341,7 @@
},
{
"id": "bad87fee1348cd8acef08812",
"title": "Waypoint: Create a Block Element Bootstrap Button",
"title": "Create a Block Element Bootstrap Button",
"difficulty": 2.05,
"description": [
"Normally, your <code>button</code> elements are only as wide as the text that they contain. By making them block elements, your button will stretch to fill your page's entire horizontal space.",
@ -411,6 +415,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -425,7 +430,7 @@
},
{
"id": "bad87fee1348cd8acef08811",
"title": "Waypoint: Taste the Bootstrap Button Color Rainbow",
"title": "Taste the Bootstrap Button Color Rainbow",
"difficulty": 2.06,
"description": [
"The \"btn-primary\" class is the main color you'll use in your app. It is useful for highlighting actions you want your user to take.",
@ -497,6 +502,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -511,7 +517,7 @@
},
{
"id": "bad87fee1348cd8acef08813",
"title": "Waypoint: Call out Optional Actions with Button Info",
"title": "Call out Optional Actions with Button Info",
"difficulty": 2.07,
"description": [
"Bootstrap comes with several pre-defined colors for buttons. The \"btn-info\" class is used to call attention to optional actions that the user can take.",
@ -584,6 +590,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -598,7 +605,7 @@
},
{
"id": "bad87fee1348ce8acef08814",
"title": "Waypoint: Warn your Users of a Dangerous Action",
"title": "Warn your Users of a Dangerous Action",
"difficulty": 2.08,
"description": [
"Bootstrap comes with several pre-defined colors for buttons. The \"btn-danger\" class is the button color you'll use to notify users that the button performs a destructive action, such as deleting a cat photo.",
@ -672,6 +679,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -686,7 +694,7 @@
},
{
"id": "bad88fee1348ce8acef08815",
"title": "Waypoint: Use the Bootstrap Grid to Put Elements Side By Side",
"title": "Use the Bootstrap Grid to Put Elements Side By Side",
"difficulty": 2.09,
"description": [
"Bootstrap uses a responsive grid system, which makes it easy to put elements into rows and specify each element's relative width. Most of Bootstrap's classes can be applied to a <code>div</code> element.",
@ -765,6 +773,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -779,7 +788,7 @@
},
{
"id": "bad87fee1348bd9aedf08845",
"title": "Waypoint: Ditch Custom CSS for Bootstrap",
"title": "Ditch Custom CSS for Bootstrap",
"difficulty": 2.10,
"description": [
"We can clean up our code and make our Cat Photo App look more conventional by using Bootstrap's built-in styles instead of the custom styles we created earlier.",
@ -863,6 +872,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -877,7 +887,7 @@
},
{
"id": "bad87fee1348bd9aede08845",
"title": "Waypoint: Create a Custom Heading",
"title": "Create a Custom Heading",
"difficulty": 2.11,
"description": [
"We will make a simple heading for our Cat Photo App by putting them in the same row.",
@ -951,6 +961,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -965,7 +976,7 @@
},
{
"id": "bad87fee1348bd9aedd08845",
"title": "Waypoint: Add Font Awesome Icons to our Buttons",
"title": "Add Font Awesome Icons to our Buttons",
"difficulty": 2.12,
"description": [
"Font Awesome is a convenient library of icons. These icons are vector graphics, stored in the \".svg\" file format. These icons are treated just like fonts. You can specify their size using pixels, and they will assume the font size of their parent HTML elements.",
@ -1035,6 +1046,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1049,7 +1061,7 @@
},
{
"id": "bad87fee1348bd9aedc08845",
"title": "Waypoint: Add Font Awesome Icons to all of our Buttons",
"title": "Add Font Awesome Icons to all of our Buttons",
"difficulty": 2.13,
"description": [
"Font Awesome is a convenient library of icons. These icons are vector graphics, stored in the \".svg\" file format. These icons are treated just like fonts. You can specify their size using pixels, and they will assume the font size of their parent HTML elements.",
@ -1119,6 +1131,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1133,7 +1146,7 @@
},
{
"id": "bad87fee1348bd9aedb08845",
"title": "Waypoint: Responsively Style Radio Buttons",
"title": "Responsively Style Radio Buttons",
"difficulty": 2.14,
"description": [
"You can use Bootstrap's \"col-xs-*\" classes on <code>form</code> elements, too! This way, our radio buttons will be evenly spread out across the page, regardless of how wide the screen resolution is.",
@ -1203,6 +1216,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1217,7 +1231,7 @@
},
{
"id": "bad87fee1348bd9aeda08845",
"title": "Waypoint: Responsively Style Checkboxes",
"title": "Responsively Style Checkboxes",
"difficulty": 2.15,
"description": [
"You can use Bootstrap's \"col-xs-*\" classes on <code>form</code> elements, too! This way, our checkboxes will be evenly spread out across the page, regardless of how wide the screen resolution is.",
@ -1294,6 +1308,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1308,7 +1323,7 @@
},
{
"id": "bad87fee1348bd9aed908845",
"title": "Waypoint: Style Text Inputs as Form Controls",
"title": "Style Text Inputs as Form Controls",
"difficulty": 2.16,
"description": [
"You can add the \"fa-paper-plane\" Font Awesome icon by adding <code>&#60;i class=\"fa fa-paper-plane\"&#62;&#60;/i&#62;</code> within your submit <code>button</code> element.",
@ -1394,6 +1409,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1408,7 +1424,7 @@
},
{
"id": "bad87fee1348bd9aec908845",
"title": "Waypoint: Line up Form Elements Responsively with Bootstrap",
"title": "Line up Form Elements Responsively with Bootstrap",
"difficulty": 2.17,
"description": [
"Now let's get your form <code>input</code> and your submission <code>button</code> on the same line. We'll do this the same way we have previously: by using a <code>div</code> element with the class \"row\", and other <code>div</code> elements within it using the \"col-xs-*\" class.",
@ -1495,6 +1511,7 @@
" </form>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1509,7 +1526,7 @@
},
{
"id": "bad87fee1348bd9aec908846",
"title": "Waypoint: Create a Bootstrap Headline",
"title": "Create a Bootstrap Headline",
"difficulty": 2.18,
"description": [
"Now let's build something from scratch to practice our HTML, CSS and Bootstrap skills.",
@ -1529,6 +1546,7 @@
"",
""
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1543,7 +1561,7 @@
},
{
"id": "bad87fee1348bd9aec908746",
"title": "Waypoint: House our page within a Bootstrap Container Fluid Div",
"title": "House our page within a Bootstrap Container Fluid Div",
"difficulty": 2.18,
"description": [
"Now let's make sure all the content on your page is mobile-responsive.",
@ -1558,6 +1576,7 @@
"",
""
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1572,7 +1591,7 @@
},
{
"id": "bad87fee1348bd9bec908846",
"title": "Waypoint: Create a Bootstrap Row",
"title": "Create a Bootstrap Row",
"difficulty": 2.19,
"description": [
"Now we'll create a Bootstrap row for our inline elements.",
@ -1590,6 +1609,7 @@
"",
""
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1604,7 +1624,7 @@
},
{
"id": "bad87fee1348bd9aec908847",
"title": "Waypoint: Split your Bootstrap Row",
"title": "Split your Bootstrap Row",
"difficulty": 2.20,
"description": [
"Now that we have a Bootstrap Row, let's split it into two columns to house our elements.",
@ -1621,6 +1641,7 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1635,7 +1656,7 @@
},
{
"id": "bad87fee1348bd9aec908848",
"title": "Waypoint: Create Bootstrap Wells",
"title": "Create Bootstrap Wells",
"difficulty": 2.21,
"description": [
"Bootstrap has a class called \"well\" that can create a visual sense of depth for your columns.",
@ -1658,6 +1679,7 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1672,7 +1694,7 @@
},
{
"id": "bad87fee1348bd9aec908849",
"title": "Waypoint: Add Elements within your Bootstrap Wells",
"title": "Add Elements within your Bootstrap Wells",
"difficulty": 2.22,
"description": [
"Now we're several <code>div</code> elements deep on each column of our row. This is as deep as we'll need to go. Now we can add our <code>button</code> elements.",
@ -1697,6 +1719,7 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1711,7 +1734,7 @@
},
{
"id": "bad87fee1348bd9aec908850",
"title": "Waypoint: Apply the Default Bootstrap Button Style",
"title": "Apply the Default Bootstrap Button Style",
"difficulty": 2.23,
"description": [
"Bootstrap has another button class called \"btn-default\"",
@ -1742,6 +1765,7 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1756,7 +1780,7 @@
},
{
"id": "bad87fee1348bd9aec908852",
"title": "Waypoint: Create a Class to Target with jQuery Selectors",
"title": "Create a Class to Target with jQuery Selectors",
"difficulty": 2.24,
"description": [
"Not every class needs to have corresponding CSS. Sometimes we create classes just for the purpose of selecting these elements more easily using jQuery.",
@ -1786,6 +1810,7 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1800,7 +1825,7 @@
},
{
"id": "bad87fee1348bd9aec908853",
"title": "Waypoint: Add ID Attributes to Bootstrap Elements",
"title": "Add ID Attributes to Bootstrap Elements",
"difficulty": 2.25,
"description": [
"Recall that in addition to class attributes, you can give each of your elements an id attribute.",
@ -1834,6 +1859,7 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1848,7 +1874,7 @@
},
{
"id": "bad87fee1348bd9aec908854",
"title": "Waypoint: Label Bootstrap Wells",
"title": "Label Bootstrap Wells",
"difficulty": 2.26,
"description": [
"For the sake of clarity, let's label both of our wells with their ids.",
@ -1881,6 +1907,7 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1895,7 +1922,7 @@
},
{
"id": "bad87fee1348bd9aec908855",
"title": "Waypoint: Give Each Element a Unique ID",
"title": "Give Each Element a Unique ID",
"difficulty": 2.27,
"description": [
"We will also want to be able to use jQuery to target each button by its unique id.",
@ -1932,6 +1959,7 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1946,7 +1974,7 @@
},
{
"id": "bad87fee1348bd9aec908856",
"title": "Waypoint: Label Bootstrap Buttons",
"title": "Label Bootstrap Buttons",
"difficulty": 2.28,
"description": [
"Just like we labled our wells, we want to label our buttons.",
@ -1983,6 +2011,7 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],
@ -1997,7 +2026,7 @@
},
{
"id": "bad87fee1348bd9aec908857",
"title": "Waypoint: Use Comments to Clarify Code",
"title": "Use Comments to Clarify Code",
"difficulty": 2.29,
"description": [
"When we start using jQuery, we will modify HTML elements without needing to actually change them in HTML.",
@ -2033,6 +2062,7 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0,
"nameCn": "",
"descriptionCn": [],

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "aff0395860f5d3034dc0bfc9",
"title": "Bonfire: Validate US Telephone Numbers",
"title": "Validate US Telephone Numbers",
"difficulty": "4.01",
"description": [
"Return true if the passed string is a valid US phone number",
@ -50,6 +50,7 @@
"MDNlinks": [
"RegExp"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -64,7 +65,7 @@
},
{
"id": "a3f503de51cf954ede28891d",
"title": "Bonfire: Symmetric Difference",
"title": "Symmetric Difference",
"difficulty": "4.02",
"description": [
"Create a function that takes two or more arrays and returns an array of the symmetric difference of the provided arrays.",
@ -88,6 +89,7 @@
"Array.reduce()",
"Symmetric Difference"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -102,7 +104,7 @@
},
{
"id": "aa2e6f85cab2ab736c9a9b24",
"title": "Bonfire: Exact Change",
"title": "Exact Change",
"difficulty": "4.03",
"description": [
"Design a cash register drawer function that accepts purchase price as the first argument, payment as the second argument, and cash-in-drawer (cid) as the third argument.",
@ -143,6 +145,7 @@
"MDNlinks": [
"Global Object"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -157,7 +160,7 @@
},
{
"id": "a56138aff60341a09ed6c480",
"title": "Bonfire: Inventory Update",
"title": "Inventory Update",
"difficulty": "4.04",
"description": [
"Compare and update inventory stored in a 2d array against a second 2d array of a fresh delivery. Update current inventory item quantity, and if an item cannot be found, add the new item and quantity into the inventory array in alphabetical order.",
@ -197,6 +200,7 @@
"MDNlinks": [
"Global Array Object"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -211,7 +215,7 @@
},
{
"id": "a7bf700cd123b9a54eef01d5",
"title": "Bonfire: No repeats please",
"title": "No repeats please",
"difficulty": "4.05",
"description": [
"Return the number of total permutations of the provided string that don't have repeated consecutive letters.",
@ -238,6 +242,7 @@
"Permutations",
"RegExp"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -252,7 +257,7 @@
},
{
"id": "a19f0fbe1872186acd434d5a",
"title": "Bonfire: Friendly Date Ranges",
"title": "Friendly Date Ranges",
"difficulty": "4.06",
"description": [
"Implement a way of converting two dates into a more friendly date range that could be presented to a user.",
@ -282,6 +287,7 @@
"String.substr()",
"parseInt()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "bd7124d8c441eddfaeb5bdef",
"title": "Waypoint: Learn how Free Code Camp Works",
"title": "Learn how Free Code Camp Works",
"difficulty": 0.01,
"challengeSeed": ["125407438"],
"description": [
@ -20,6 +20,7 @@
"We'll provide you with the most rigorous curriculum and the most supportive community on earth. All you need to do sit down, day after day, and put in the hard work.",
"Now it's time to join our chat room. Click the \"I've completed this challenge\" button to move on to your next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -55,7 +56,7 @@
},
{
"id": "bd7125d8c441eddfaeb5bd0f",
"title": "Waypoint: Join Our Chat Room",
"title": "Join Our Chat Room",
"difficulty": 0.02,
"challengeSeed": ["131574135"],
"description": [
@ -77,6 +78,7 @@
"In order to keep our community a friendly and positive place to learn to code, please read and follow our Code of Conduct: <a href='https://github.com/FreeCodeCamp/freecodecamp/wiki/Code-of-Conduct' target='_blank'>https://github.com/FreeCodeCamp/freecodecamp/wiki/Code-of-Conduct</a>",
"Now you're ready to move on. Click the \"I've completed this challenge\" button to move on to your next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -116,7 +118,7 @@
},
{
"id": "bd7125d8c441eddfaeb5bdff",
"title": "Waypoint: Preview our Challenge Map",
"title": "Preview our Challenge Map",
"difficulty": 0.03,
"challengeSeed": ["125407437"],
"description": [
@ -126,6 +128,7 @@
"In addition to our Waypoint challenges, like the one you're doing now, we have algorithm practice challenges (Bonfires), front end development challenges (Ziplines) and full stack development challenges (Basejumps). After you finish all of these, you'll start building projects for nonprofits.",
"Please note that our open-source curriculum is a work in progress. Our volunteer community is constantly improving it. If you think you've encountered a bug, typo, or something that seems confusing, be sure to click the \"bug\" button to create a GitHub issue."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -157,7 +160,7 @@
},
{
"id": "bd7125d8c441eddfaeb5bd1f",
"title": "Waypoint: Browse our Wiki",
"title": "Browse our Wiki",
"difficulty": 0.04,
"challengeSeed": ["125407435"],
"description": [
@ -167,6 +170,7 @@
"All of our Wiki articles are contributed by our community. You can update our wiki articles, and even create wiki articles of your own.",
"Now you can move on to your next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -196,7 +200,7 @@
},
{
"id": "bd7125d8c441eddfaeb5bd2f",
"title": "Waypoint: Customize your Portfolio Page",
"title": "Customize your Portfolio Page",
"difficulty": 0.05,
"challengeSeed": ["125407433"],
"description": [
@ -208,6 +212,7 @@
"Your portfolio page also shows off your progress through Free Code Camp. If you get Brownie Points on several days in a row, you'll get streak.",
"Once you're happy with your portfolio page, you can move on to your next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -241,7 +246,7 @@
},
{
"id": "bd7126d8c441eddfaeb5bd3f",
"title": "Waypoint: Try Camper News",
"title": "Try Camper News",
"difficulty": 0.06,
"challengeSeed": ["124553410"],
"description": [
@ -254,6 +259,7 @@
"When you submit a link, you'll get a Brownie Point. You'll also get a Brownie Point each time someone upvotes your link.",
"Now that you've learned how to use Camper News, let's move on to your next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -291,7 +297,7 @@
},
{
"id": "bd7126d8c441eddfaeb5bd3e",
"title": "Waypoint: Meet Other Campers in your City",
"title": "Meet Other Campers in your City",
"difficulty": 0.07,
"challengeSeed": ["127358841"],
"description": [
@ -303,6 +309,7 @@
"Our Campsites allow you to create events, coordinate those events, and share photos from the events afterward.",
"Whether you're hosting a study group, pair programming at your local library, or going to a weekend hackathon, your city's Campsite will help you make it happen."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -338,7 +345,7 @@
},
{
"id": "bd7126d8c431eddfaeb5bd3e",
"title": "Waypoint: Add Free Code Camp to your LinkedIn Profile",
"title": "Add Free Code Camp to your LinkedIn Profile",
"difficulty": 0.08,
"challengeSeed": ["131574134"],
"description": [
@ -353,6 +360,7 @@
"Make your LinkedIn profile as complete as possible. Unlike other social networks, with LinkedIn, it's perfectly fine if you don't want to add a photo.",
"Let's keep moving. We're almost ready to start coding!"
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -368,7 +376,7 @@
},
{
"id": "bd7137d8c441eddfaeb5bdef",
"title": "Waypoint: Get Help the Hacker Way with RSAP",
"title": "Get Help the Hacker Way with RSAP",
"difficulty": 0.09,
"challengeSeed": ["125407432"],
"description": [
@ -381,6 +389,7 @@
"Here's our detailed wiki article on getting help: <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>http://freecodecamp.com//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck</a>.",
"Now you have a clear algorithm to follow when you need help! Let's start coding! Move on to your next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "bd7353d8c341eddeaeb5bd0f",
"title": "Waypoint: Save your Code Revisions Forever with Git",
"title": "Save your Code Revisions Forever with Git",
"difficulty": 0.01,
"challengeSeed": ["133316034"],
"description": [
@ -34,6 +34,7 @@
"Complete \"Merge Tada!\"",
"Once you've completed these steps, move on to our next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "bd7128d8c441eddfbeb5bddf",
"title": "Hike: Computer Basics 1: The 4 Basic Parts of a Computer",
"title": "Computer Basics 1: The 4 Basic Parts of a Computer",
"difficulty": 9.01,
"challengeSeed": [
"132542064"
@ -24,6 +24,7 @@
"You can't get to the memory from the input or the output without the use of the CPU.",
"So, just to review, we've got 4 basic parts of the computer: the input, the output, CPU, and memory."
],
"type": "hike",
"challengeType": 6,
"tests": [
["The computer has 3 basic parts.", false, "The computer has 4 basic parts: input, output, CPU, and memory"],
@ -43,7 +44,7 @@
},
{
"id": "bd7127d8c441eddfbeb5bddf",
"title": "Hike: Computer Basics 2: More Computer Hardware",
"title": "Computer Basics 2: More Computer Hardware",
"difficulty": 9.02,
"challengeSeed": [
"132542458"
@ -62,6 +63,7 @@
"So let's do a quick review.",
"In addition to the four basic parts of input, output, CPU, and memory, we also usually have a motherboard, expansion cards, and a power supply."
],
"type": "hike",
"challengeType": 6,
"tests": [
["The power supply isn't a necessary part of a computer since it's not one of the 4 main parts.", false, "The computer needs power!"],
@ -81,7 +83,7 @@
},
{
"id": "bd7126d8c441eddfbeb5bddf",
"title": "Hike: Computer Basics 3: Intro to Binary Code",
"title": "Computer Basics 3: Intro to Binary Code",
"difficulty": 9.03,
"challengeSeed": [
"132542757"
@ -95,6 +97,7 @@
"We're going to go into how you decode a number in binary, but as you can probably guess, translating binary can be done with a quick google search.",
"The most important part of this is you undrestand the concept that even simple things like 1's and 0's can translate into something really complex that is the basis for all of the computer languages that exist today."
],
"type": "hike",
"challengeType": 6,
"tests": [
["1's and 0's are how we talk about little switches being on and off.", true],
@ -114,7 +117,7 @@
},
{
"id": "bd7125d8c441eddfbeb5bddf",
"title": "Hike: Computer Basics 4: Decoding a Binary Number",
"title": "Computer Basics 4: Decoding a Binary Number",
"difficulty": 9.04,
"challengeSeed": [
"132543332"
@ -130,6 +133,7 @@
"If it's a 0, we disregard it.",
"In this video, our number adds up to 75."
],
"type": "hike",
"challengeType": 6,
"tests": [
["1 === on and 0 ===off", true],
@ -149,7 +153,7 @@
},
{
"id": "bd7124d8c441eddfbeb5bddf",
"title": "Hike: Computer Basics 5: How To Measure Data Size",
"title": "Computer Basics 5: How To Measure Data Size",
"difficulty": 9.05,
"challengeSeed": [
"132543959"
@ -168,6 +172,7 @@
"Then it's Gigabyte, 1024 Bytes to the power of three; Terabyte, 1024 Bytes to the power of 4, and Petabyte, 1024 to the power of 5.",
"These get much bigger really quickly!"
],
"type": "hike",
"challengeType": 6,
"tests": [
["A Byte is the smallest possible amount of data.", false, "A Byte is 8 bits."],
@ -187,7 +192,7 @@
},
{
"id": "bd7123d8c441eddfbeb5bddf",
"title": "Hike: Computer Basics 6: Measuring Data Speed",
"title": "Computer Basics 6: Measuring Data Speed",
"difficulty": 9.06,
"challengeSeed": [
"132545171"
@ -205,6 +210,7 @@
"The main takeaway here is that speed is usually measured in bits and size is measured in Bytes.",
"Additionally, if you have an internet speed that says however many bits per second, keep in mind they are talking about something 8 times less than Bytes, how you are thinking about data."
],
"type": "hike",
"challengeType": 6,
"tests": [
["Data speed is measured in bits.", true],
@ -223,7 +229,7 @@
},
{
"id": "bd7122d8c441eddfbeb5bddf",
"title": "Hike: Computer Basics 7: Binary Bytes",
"title": "Computer Basics 7: Binary Bytes",
"difficulty": 9.07,
"challengeSeed": [
"132545417"
@ -237,6 +243,7 @@
"So, all of the numbers, letters, and symbols in your javascript can be translated.",
"There are a lot of languages that computers can work with, and what I want you to get away from this video is that all data in your computer boils down to binary Bytes."
],
"type": "hike",
"challengeType": 6,
"tests": [
["All digits, letters, and symbols have a binary Byte translation.", true],
@ -256,7 +263,7 @@
},
{
"id": "bd7121d8c441eddfbeb5bddf",
"title": "Hike: Computer Basics 8: Types of Computers",
"title": "Computer Basics 8: Types of Computers",
"difficulty": 9.08,
"challengeSeed": [
"132546182"
@ -275,6 +282,7 @@
"It's both a Mac and a PC.",
"The last type of computer we'll talk about is a microcontroller, the type of computer you might have in your car that is really good at a small specialized task, but wouldn't be used the same way a PC would be."
],
"type": "hike",
"challengeType": 6,
"tests": [
["The most common type of computer is a Personal Computer, a PC.", true],
@ -294,7 +302,7 @@
},
{
"id": "bd7120d8c441eddfbeb5bddf",
"title": "Hike: Computer Basics 9: More on the Motherboard",
"title": "Computer Basics 9: More on the Motherboard",
"difficulty": 9.09,
"challengeSeed": [
"132547285"
@ -315,6 +323,7 @@
"On your computer, you probably know there's a place to connect USB, firewire, SD card, ethernet, even an audio plug-in to listen through headphones.",
"These are all considered ports, a place on the motherboard where you can connect the CPU to some outside source to either get or give information."
],
"type": "hike",
"challengeType": 6,
"tests": [
["A motherboard must connect the CPU, the memory, and the network.", false, "A motherboard is a motherboard as long as it connects the CPU and the memory."],
@ -334,7 +343,7 @@
},
{
"id": "bd712fd8c441eddfbeb5bddf",
"title": "Hike: Computer Basics 10: Data Networks",
"title": "Computer Basics 10: Data Networks",
"difficulty": 9.10,
"challengeSeed": [
"132547590"
@ -354,6 +363,7 @@
"You might think that these are connected over the internet, and in the case of a VPN (Virtual Private Network, which is basically the same conceptionally as a WAN), you're right.",
"However, a WAN usually rents a cable from an internet company to creat the connection."
],
"type": "hike",
"challengeType": 6,
"tests": [
["You can connect to a LAN from far away.", false, "To connect to a LAN you must be physically near to it."],
@ -373,7 +383,7 @@
},
{
"id": "bd712ed8c441eddfbeb5bddf",
"title": "Hike: Computer Basics 11: IP Addresses",
"title": "Computer Basics 11: IP Addresses",
"difficulty": 9.11,
"challengeSeed": [
"132548071"
@ -393,6 +403,7 @@
"However, it is specific enough that you could google \"Where's the best ice cream near me\" and google could give you information close to your location.",
"This is done using your IP address."
],
"type": "hike",
"challengeType": 6,
"tests": [
["IP addresses are necessary to use and participate in the internet.", true],
@ -411,7 +422,7 @@
},
{
"id": "bd712dd8c441eddfbeb5bddf",
"title": "Hike: Computer Basics 12: How the Internet Works",
"title": "Computer Basics 12: How the Internet Works",
"difficulty": 9.12,
"challengeSeed": [
"132548579"
@ -431,6 +442,7 @@
"Now, this explaination is really quite basic.",
"For more information, check out web.stanford.edu/class/msande91si/www-spr04/readings/week1/InternetWhitepaper.htm."
],
"type": "hike",
"challengeType": 6,
"tests": [
["Your computer sends a request for information.", true],
@ -449,7 +461,7 @@
},
{
"id": "bd712cd8c441eddfbeb5bddf",
"title": "Hike: Computer Basics 13: Software",
"title": "Computer Basics 13: Software",
"difficulty": 9.13,
"challengeSeed": [
"132548908"
@ -464,6 +476,7 @@
"There are three main operating systems: Windows, Mac, and Linux.",
"Applications comprise all other software, like your web browser, games, things like Photoshop, how you view your mail, editing documents, etc."
],
"type": "hike",
"challengeType": 6,
"tests": [
["Safari, Chrome, and Firefox are all examples of application software.", true]
@ -481,7 +494,7 @@
},
{
"id": "bd712bd8c441eddfbeb5bddf",
"title": "Hike: What Do Programmers Do?",
"title": "What Do Programmers Do?",
"difficulty": 9.14,
"challengeSeed": [
"133166912"
@ -498,6 +511,7 @@
"Computers just read straight down like you would read a book.",
"Programmers are the ones responsible for breaking their ideas down into the little tiny steps and writing them in a way that computers can understand them."
],
"type": "hike",
"challengeType": 6,
"tests": [
["Computers look at code one line at a time", true],
@ -517,7 +531,7 @@
},
{
"id": "bd712ad8c441eddfbeb5bddf",
"title": "Hike: Console and Logging",
"title": "Console and Logging",
"difficulty": 9.15,
"challengeSeed": [
"133170880"
@ -535,6 +549,7 @@
"This will also work with numbers and booleans, which are true/false statements.",
"When consoling words, it's important to put it inside of quotations so it recognizes it's a string."
],
"type": "hike",
"challengeType": 6,
"tests": [
["The console serves only small, unnecessary purposes.", false, "The console's main purpose is to debug, which is a vital step in creating code."],
@ -553,7 +568,7 @@
},
{
"id": "bd7119d8c441eddfbeb5bddf",
"title": "Hike: Variables In Code",
"title": "Variables In Code",
"difficulty": 9.16,
"challengeSeed": [
"133172920"
@ -567,6 +582,7 @@
"But be careful - if we put console.log(\"x\"), with the x in quotation marks, it will output the letter \"x\".",
"What I want you to take away from this video is that variables exist in code, and you can store everything from a simple string all the way up to a function, all within a simple name."
],
"type": "hike",
"challengeType": 6,
"tests": [
["Variables are useful in coding languages like JavaScript.", true],
@ -585,7 +601,7 @@
},
{
"id": "bd7029d8c441eddfbeb5bddf",
"title": "Hike: Source Code",
"title": "Source Code",
"difficulty": 9.17,
"challengeSeed": [
"133177129"
@ -610,6 +626,7 @@
"It's a great way for websites and software to grow in a strong and fast way because of the community working together to improve it.",
"One unwritten rule of contributing to open source projects is that you should generally submit your improvements to also be open source, and by giving that improvement back to the public, you let others use your improvement as well."
],
"type": "hike",
"challengeType": 6,
"tests": [
["Source code is a text document.", true],
@ -629,7 +646,7 @@
},
{
"id": "bd7129d8b441eddfbeb5bddf",
"title": "Hike: Routers and Packets",
"title": "Routers and Packets",
"difficulty": 9.18,
"challengeSeed": [
"133181251"
@ -660,6 +677,7 @@
"They can take whichever route is open, whichever is fastest, and since they have the end IP address, all of the routers know where to send them.",
"Once they get to the end destination, that computer knows how to put all of the information back together."
],
"type": "hike",
"challengeType": 6,
"tests": [
["Routers have to know the whole internet.", false, "Routers just have to know the stops around them to send information in the right direction."],
@ -679,7 +697,7 @@
},
{
"id": "bd7129d8a441eddfbeb5bddf",
"title": "Hike: Hardware: Chips and Moore's Law",
"title": "Hardware: Chips and Moore's Law",
"difficulty": 9.19,
"challengeSeed": [
"133182057"
@ -696,6 +714,7 @@
"Moore's Law is the observation that the amount of transistors fit on each chip has doubled every two years since 1965.",
"This is important because it's making technology more affordable and accessible."
],
"type": "hike",
"challengeType": 6,
"tests": [
["Chips have transistors, little switches that can store a 1 or a 0.", true],
@ -715,7 +734,7 @@
},
{
"id": "bd7129d80441eddfbeb5bddf",
"title": "Hike: Analog vs Digital and File Compression",
"title": "Analog vs Digital and File Compression",
"difficulty": 9.20,
"challengeSeed": [
"133182587"
@ -735,6 +754,7 @@
"In images, it's done by measuring groups of pixels by 16 instead of individually.",
"The takeaway from this video is that you'll want to use digital files as they're a higher quality, and when you're looking at compression, you want to decide how far you are willing to go to ensure the user still has the best possible experience."
],
"type": "hike",
"challengeType": 6,
"tests": [
["Digital files can be made from analog sounds and analog sounds can be made from digital files.", true],
@ -753,7 +773,7 @@
},
{
"id": "bd7129d89441eddfbeb5bddf",
"title": "Hike: Computer Security",
"title": "Computer Security",
"difficulty": 9.21,
"challengeSeed": [
"133186284"
@ -787,6 +807,7 @@
"Those bugs have been patched in newer versions, so if you keep everything updated, you'll avoid lots of problems.",
"These are all very basic things you should know about how to keep your information safe on your computer."
],
"type": "hike",
"challengeType": 6,
"tests": [
["Passwords should be shared with all of your accounts.", false, "Don't reuse important passwords"],

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "a3566b1109230028080c9345",
"title": "Bonfire: Sum All Numbers in a Range",
"title": "Sum All Numbers in a Range",
"difficulty": "2.00",
"description": [
"We'll pass you an array of two numbers. Return the sum of those two numbers and all numbers between them.",
@ -30,6 +30,7 @@
"Math.min()",
"Array.reduce()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -44,7 +45,7 @@
},
{
"id": "a5de63ebea8dbee56860f4f2",
"title": "Bonfire: Diff Two Arrays",
"title": "Diff Two Arrays",
"difficulty": "2.01",
"description": [
"Compare two arrays and return a new array with any items not found in both of the original arrays.",
@ -75,6 +76,7 @@
"Array.indexOf()",
"String.concat()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -89,7 +91,7 @@
},
{
"id": "a7f4d8f2483413a6ce226cac",
"title": "Bonfire: Roman Numeral Converter",
"title": "Roman Numeral Converter",
"tests": [
"expect(convert(12)).to.equal(\"XII\");",
"expect(convert(5)).to.equal(\"V\");",
@ -115,6 +117,7 @@
"Array.indexOf()",
"Array.join()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -129,7 +132,7 @@
},
{
"id": "a0b5010f579e69b815e7c5d6",
"title": "Bonfire: Search and Replace",
"title": "Search and Replace",
"tests": [
"expect(replace(\"Let us go to the store\", \"store\", \"mall\")).to.equal(\"Let us go to the mall\");",
"expect(replace(\"He is Sleeping on the couch\", \"Sleeping\", \"sitting\")).to.equal(\"He is Sitting on the couch\");",
@ -158,6 +161,7 @@
"String.replace()",
"Array.join()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -172,7 +176,7 @@
},
{
"id": "aa7697ea2477d1316795783b",
"title": "Bonfire: Pig Latin",
"title": "Pig Latin",
"tests": [
"expect(translate(\"california\")).to.equal(\"aliforniacay\");",
"expect(translate(\"paragraphs\")).to.equal(\"aragraphspay\");",
@ -201,6 +205,7 @@
"String.substr()",
"String.split()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -215,7 +220,7 @@
},
{
"id": "afd15382cdfb22c9efe8b7de",
"title": "Bonfire: DNA Pairing",
"title": "DNA Pairing",
"tests": [
"assert.deepEqual(pair(\"ATCGA\"),[['A','T'],['T','A'],['C','G'],['G','C'],['A','T']], 'should return the dna pair');",
"assert.deepEqual(pair(\"TTGAG\"),[['T','A'],['T','A'],['G','C'],['A','T'],['G','C']], 'should return the dna pair');",
@ -239,6 +244,7 @@
"Array.push()",
"String.split()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -253,7 +259,7 @@
},
{
"id": "af7588ade1100bde429baf20",
"title": "Bonfire: Missing letters",
"title": "Missing letters",
"difficulty": "2.05",
"description": [
"Find the missing letter in the passed letter range and return it.",
@ -277,6 +283,7 @@
"String.charCodeAt()",
"String.fromCharCode()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -291,7 +298,7 @@
},
{
"id": "a77dbc43c33f39daa4429b4f",
"title": "Bonfire: Boo who",
"title": "Boo who",
"difficulty": "2.06",
"description": [
"Check if a value is classified as a boolean primitive. Return true or false.",
@ -319,6 +326,7 @@
"MDNlinks": [
"Boolean Objects"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -333,7 +341,7 @@
},
{
"id": "a105e963526e7de52b219be9",
"title": "Bonfire: Sorted Union",
"title": "Sorted Union",
"difficulty": "2.07",
"description": [
"Write a function that takes two or more arrays and returns a new array of unique values in the order of the original provided arrays.",
@ -359,6 +367,7 @@
"Arguments object",
"Array.reduce()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -373,7 +382,7 @@
},
{
"id": "a6b0bb188d873cb2c8729495",
"title": "Bonfire: Convert HTML Entities",
"title": "Convert HTML Entities",
"difficulty": "2.07",
"description": [
"Convert the characters \"&\", \"<\", \">\", '\"' (double quote), and \"'\" (apostrophe), in a string to their corresponding HTML entities.",
@ -400,6 +409,7 @@
"RegExp",
"HTML Entities"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -414,7 +424,7 @@
},
{
"id": "a103376db3ba46b2d50db289",
"title": "Bonfire: Spinal Tap Case",
"title": "Spinal Tap Case",
"difficulty": "2.08",
"description": [
"Convert a string to spinal case. Spinal case is all-lowercase-words-joined-by-dashes.",
@ -439,6 +449,7 @@
"RegExp",
"String.replace()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -453,7 +464,7 @@
},
{
"id": "a5229172f011153519423690",
"title": "Bonfire: Sum All Odd Fibonacci Numbers",
"title": "Sum All Odd Fibonacci Numbers",
"difficulty": "2.09",
"description": [
"Return the sum of all odd Fibonacci numbers up to and including the passed number if it is a Fibonacci number.",
@ -479,6 +490,7 @@
"MDNlinks": [
"Remainder"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -493,7 +505,7 @@
},
{
"id": "a3bfc1673c0526e06d3ac698",
"title": "Bonfire: Sum All Primes",
"title": "Sum All Primes",
"difficulty": "2.10",
"description": [
"Sum all the prime numbers up to and including the provided number.",
@ -517,6 +529,7 @@
"For Loops",
"Array.push()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -531,7 +544,7 @@
},
{
"id": "ae9defd7acaf69703ab432ea",
"title": "Bonfire: Smallest Common Multiple",
"title": "Smallest Common Multiple",
"difficulty": "2.11",
"description": [
"Find the smallest number that is evenly divisible by all numbers in the provided range.",
@ -555,6 +568,7 @@
"MDNlinks": [
"Smallest Common Multiple"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -569,7 +583,7 @@
},
{
"id": "a6e40f1041b06c996f7b2406",
"title": "Bonfire: Finders Keepers",
"title": "Finders Keepers",
"difficulty": "2.12",
"description": [
"Create a function that looks through an array (first argument) and returns the first element in the array that passes a truth test (second argument).",
@ -590,6 +604,7 @@
"MDNlinks": [
"Array.some()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -604,7 +619,7 @@
},
{
"id": "a5deed1811a43193f9f1c841",
"title": "Bonfire: Drop it",
"title": "Drop it",
"difficulty": "2.13",
"description": [
"Drop the elements of an array (first argument), starting from the front, until the predicate (second argument) returns true.",
@ -627,6 +642,7 @@
"Arguments object",
"Array.shift()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -641,7 +657,7 @@
},
{
"id": "ab306dbdcc907c7ddfc30830",
"title": "Bonfire: Steamroller",
"title": "Steamroller",
"difficulty": "2.14",
"description": [
"Flatten a nested array. You must account for varying levels of nesting.",
@ -664,6 +680,7 @@
"MDNlinks": [
"Array.isArray()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -678,7 +695,7 @@
},
{
"id": "a8d97bd4c764e91f9d2bda01",
"title": "Bonfire: Binary Agents",
"title": "Binary Agents",
"difficulty": "2.15",
"description": [
"Return an English translated sentence of the passed binary string.",
@ -700,6 +717,7 @@
"String.charCodeAt()",
"String.fromCharCode()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -714,7 +732,7 @@
},
{
"id": "a10d2431ad0c6a099a4b8b52",
"title": "Bonfire: Everything Be True",
"title": "Everything Be True",
"difficulty": "2.21",
"description": [
"Check if the predicate (second argument) returns truthy (defined) for all elements of a collection (first argument).",
@ -739,6 +757,7 @@
"Object.hasOwnProperty()",
"Object.getOwnPropertyNames()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
@ -753,7 +772,7 @@
},
{
"id": "a97fd23d9b809dac9921074f",
"title": "Bonfire: Arguments Optional",
"title": "Arguments Optional",
"difficulty": "2.22",
"description": [
"Create a function that sums two arguments together. If only one argument is provided, return a function that expects one additional argument and will return the sum.",
@ -779,6 +798,7 @@
"Global Function Object",
"Arguments object"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "bd7158d8c442eddfaeb5bd18",
"title": "Zipline: Stylize Stories on Camper News",
"title": "Stylize Stories on Camper News",
"difficulty": 1.02,
"challengeSeed": ["126415129"],
"description": [
@ -22,6 +22,7 @@
"When you are finished, click the \"I've completed this challenge\" button and include a link to your CodePen. If you pair programmed, you should also include the Free Code Camp username of your pair.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your CodePen project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "zipline",
"challengeType": 3,
"tests": [],
"nameCn": "",
@ -37,7 +38,7 @@
},
{
"id": "bd7158d8c442eddfaeb5bd19",
"title": "Zipline: Wikipedia Viewer",
"title": "Wikipedia Viewer",
"difficulty": 1.03,
"challengeSeed": ["126415131"],
"description": [
@ -54,6 +55,7 @@
"When you are finished, click the \"I've completed this challenge\" button and include a link to your CodePen. If you pair programmed, you should also include the Free Code Camp username of your pair.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your CodePen project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "zipline",
"challengeType": 3,
"tests": [],
"nameCn": "",
@ -69,7 +71,7 @@
},
{
"id": "bd7158d8c442eddfaeb5bd17",
"title": "Zipline: Build a JavaScript Calculator",
"title": "Build a JavaScript Calculator",
"difficulty": 1.05,
"challengeSeed": ["126411565"],
"description": [
@ -85,6 +87,7 @@
"When you are finished, click the \"I've completed this challenge\" button and include a link to your CodePen. If you pair programmed, you should also include the Free Code Camp username of your pair.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your CodePen project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "zipline",
"challengeType": 3,
"tests": [],
"nameCn": "",
@ -100,7 +103,7 @@
},
{
"id": "bd7158d8c442eedfaeb5bd1c",
"title": "Zipline: Build a Tic Tac Toe Game",
"title": "Build a Tic Tac Toe Game",
"difficulty": 1.06,
"challengeSeed": ["126415123"],
"description": [
@ -117,6 +120,7 @@
"When you are finished, click the \"I've completed this challenge\" button and include a link to your CodePen. If you pair programmed, you should also include the Free Code Camp username of your pair.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your CodePen project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "zipline",
"challengeType": 3,
"tests": [],
"nameCn": "",
@ -132,7 +136,7 @@
},
{
"id": "bd7158d8c442eddfaeb5bd1c",
"title": "Zipline: Build a Simon Game",
"title": "Build a Simon Game",
"difficulty": 1.07,
"challengeSeed": ["126415123"],
"description": [
@ -155,6 +159,7 @@
"When you are finished, click the \"I've completed this challenge\" button and include a link to your CodePen. If you pair programmed, you should also include the Free Code Camp username of your pair.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your CodePen project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "zipline",
"challengeType": 3,
"tests": [],
"nameCn": "",

View File

@ -1,10 +1,10 @@
{
"name": "jQuery",
"name": "jQuery",
"order": 0.004,
"challenges": [
{
"id": "bad87fee1348bd9acdd08826",
"title": "Waypoint: Learn how Script Tags and Document Ready Work",
"title": "Learn how Script Tags and Document Ready Work",
"difficulty": 3.01,
"description": [
"Now we're ready to learn jQuery, the most popular JavaScript tool of all time. Don't worry about JavaScript itself - we will cover it soon.",
@ -42,11 +42,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9bedc08826",
"title": "Waypoint: Target HTML Elements with Selectors Using jQuery",
"title": "Target HTML Elements with Selectors Using jQuery",
"difficulty": 3.02,
"description": [
"Now we have a \"document ready function\". We'll learn more about functions later. The important thing to know is that code you put inside this function will run as soon as your browser has loaded your page.",
@ -90,11 +91,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aedc08826",
"title": "Waypoint: Target Elements by Class Using jQuery",
"title": "Target Elements by Class Using jQuery",
"difficulty": 3.03,
"description": [
"You see how we made all of your <code>button</code> elements bounce? We selected them with <code>$('button')</code>, then we added some CSS classes to them with <code>.addClass('animated bounce');</code>.",
@ -139,11 +141,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aeda08826",
"title": "Waypoint: Target Elements by ID Using jQuery",
"title": "Target Elements by ID Using jQuery",
"difficulty": 3.04,
"description": [
"You can also target elements by their id attributes.",
@ -189,11 +192,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aeda08726",
"title": "Waypoint: Delete your jQuery Functions",
"title": "Delete your jQuery Functions",
"difficulty": 3.05,
"description": [
"These animations were cool at first, but now they're getting kind of distracting.",
@ -240,11 +244,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aed908626",
"title": "Waypoint: Target the same element with multiple jQuery Selectors",
"title": "Target the same element with multiple jQuery Selectors",
"difficulty": 3.06,
"description": [
"Now you know three ways of targeting elements: by type <code>$('button')</code>, by class <code>$('.btn')</code>), and by id <code>$('#target1')</code>).",
@ -290,11 +295,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aed918626",
"title": "Waypoint: Remove Classes from an element with jQuery",
"title": "Remove Classes from an element with jQuery",
"difficulty": 3.07,
"description": [
"In the same way you can add classes to an element with jQuery's <code>addClass()</code> function, you can remove them with jQuery's <code>removeClass()</code> function.",
@ -339,11 +345,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aed908826",
"title": "Waypoint: Change the CSS of an Element Using jQuery",
"title": "Change the CSS of an Element Using jQuery",
"difficulty": 3.08,
"description": [
"We can also change the CSS of an HTML element directly with jQuery.",
@ -392,11 +399,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aed808826",
"title": "Waypoint: Disable an Element Using jQuery",
"title": "Disable an Element Using jQuery",
"difficulty": 3.09,
"description": [
"You can also change the non-CSS properties of HTML elements with jQuery. For example, you can disable buttons.",
@ -442,11 +450,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aed708826",
"title": "Waypoint: Remove an Element Using jQuery",
"title": "Remove an Element Using jQuery",
"difficulty": 3.10,
"description": [
"Now let's remove an HTML element from your page using jQuery.",
@ -489,11 +498,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aed608826",
"title": "Waypoint: Use appendTo to Move Elements with jQuery",
"title": "Use appendTo to Move Elements with jQuery",
"difficulty": 3.11,
"description": [
"Now let's try moving elements from one <code>div</code> to another.",
@ -540,11 +550,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aed508826",
"title": "Waypoint: Clone an Element Using jQuery",
"title": "Clone an Element Using jQuery",
"difficulty": 3.12,
"description": [
"In addition to moving elements, you can also copy them from one place to another.",
@ -593,11 +604,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aed308826",
"title": "Waypoint: Target the Parent of an Element Using jQuery",
"title": "Target the Parent of an Element Using jQuery",
"difficulty": 3.13,
"description": [
"Every HTML elements has a \"parent\" element from which it \"inherits\" properties.",
@ -647,11 +659,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aed208826",
"title": "Waypoint: Target the Children of an Element Using jQuery",
"title": "Target the Children of an Element Using jQuery",
"difficulty": 3.14,
"description": [
"Many HTML elements has a \"children\" element from which they \"inherits\" properties.",
@ -702,11 +715,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aed108826",
"title": "Waypoint: Target a Specific Child of an Element Using jQuery",
"title": "Target a Specific Child of an Element Using jQuery",
"difficulty": 3.15,
"description": [
"You've seen why id attributes are so convenient for targeting with jQuery selectors. But you won't always have such neat ids to work with.",
@ -758,11 +772,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aed008826",
"title": "Waypoint: Target Even Numbered Elements Using jQuery",
"title": "Target Even Numbered Elements Using jQuery",
"difficulty": 3.16,
"description": [
"You can also target all the even-numbered elements.",
@ -816,11 +831,12 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
},
{
"id": "bad87fee1348bd9aecb08826",
"title": "Waypoint: Use jQuery to Modify the Entire Page",
"title": "Use jQuery to Modify the Entire Page",
"difficulty": 3.20,
"description": [
"We're done playing with our jQuery playground. Let's tear it down!",
@ -872,6 +888,7 @@
" </div>",
"</div>"
],
"type": "waypoint",
"challengeType": 0
}
]

View File

@ -1,5 +1,5 @@
{
"name": "JSON APIs and Ajax - Coming Soon",
"name": "JSON APIs and Ajax - Coming Soon",
"order": 0.007,
"challenges": [
]

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "bd7243d8c341eddeaeb5bd0f",
"title": "Waypoint: Store Data in MongoDB",
"title": "Store Data in MongoDB",
"difficulty": 0.01,
"challengeSeed": ["133316035"],
"description": [
@ -33,6 +33,7 @@
"Complete \"Aggregate\"",
"Once you've completed these steps, move on to our next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "bd7153d8c441eddfaeb5bd0f",
"title": "Waypoint: Manage Packages with NPM",
"title": "Manage Packages with NPM",
"difficulty": 0.39,
"challengeSeed": ["126433450"],
"description": [
@ -42,6 +42,7 @@
"Complete \"Finale\"",
"Once you've completed these steps, move on to our next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -57,7 +58,7 @@
},
{
"id": "bd7153d8c441eddfaeb5bdff",
"title": "Waypoint: Start a Node.js Server",
"title": "Start a Node.js Server",
"difficulty": 0.40,
"challengeSeed": ["126411561"],
"description": [
@ -83,6 +84,7 @@
"Complete \"HTTP Client\"",
"Once you've completed these first 7 steps, move on to our next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -98,7 +100,7 @@
},
{
"id": "bd7153d8c441eddfaeb5bdfe",
"title": "Waypoint: Continue working with Node.js Servers",
"title": "Continue working with Node.js Servers",
"difficulty": 0.41,
"challengeSeed": ["128836506"],
"description": [
@ -111,6 +113,7 @@
"Complete \"Time Server\"",
"Once you've completed these 3 steps, move on to our next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -126,7 +129,7 @@
},
{
"id": "bd7153d8c441eddfaeb5bdfd",
"title": "Waypoint: Finish working with Node.js Servers",
"title": "Finish working with Node.js Servers",
"difficulty": 0.42,
"challengeSeed": ["128836507"],
"description": [
@ -139,6 +142,7 @@
"Complete \"HTTP JSON API Server\"",
"Once you've completed these final 3 steps, move on to our next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -154,7 +158,7 @@
},
{
"id": "bd7153d8c441eddfaeb5bd1f",
"title": "Waypoint: Build Web Apps with Express.js",
"title": "Build Web Apps with Express.js",
"difficulty": 0.43,
"challengeSeed": [
"126411559"
@ -181,6 +185,7 @@
"Complete \"JSON Me\"",
"Once you've completed these steps, move on to our next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",

View File

@ -4,7 +4,7 @@
"challenges": [
{
"id": "bd7153d8c44eeddfaeb5bd0f",
"title": "Waypoint: Learn Scope Chains and Closures",
"title": "Learn Scope Chains and Closures",
"difficulty": 0.01,
"challengeSeed": ["133316031"],
"description": [
@ -28,6 +28,7 @@
"Complete \"Garbage Collection\"",
"Once you've completed these steps, move on to our next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -43,7 +44,7 @@
},
{
"id": "bd7153d8b44eeddfaeb5bd0f",
"title": "Waypoint: Use Prototypes for Inheriting Properties",
"title": "Use Prototypes for Inheriting Properties",
"difficulty": 0.02,
"challengeSeed": ["133316036"],
"description": [
@ -72,6 +73,7 @@
"Note that you can skip the last challenge.",
"Once you've completed these steps, move on to our next challenge."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
@ -87,7 +89,7 @@
},
{
"id": "bd7129d8c441eddfbeb5bddf",
"title": "Waypoint: Practice Functional Programming",
"title": "Practice Functional Programming",
"difficulty": 0.01,
"challengeSeed": ["129169463"],
"description": [
@ -99,6 +101,7 @@
"This challenge will take several hours, but don't worry. Jafar's website will save your progress (using your browser's local storage) so you don't need to finish it in one sitting.",
"If you've spent several minutes on one of these challenges, and still can't figure out its correct answer, you can click \"show answer\", then click \"run\" to advance to the next challenge. Be sure to read the correct answer and make sure you understand it before moving on."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",