From e8bffc57213e68113dedaf7e35a979fb9e63cfa2 Mon Sep 17 00:00:00 2001 From: Matt Trifilo Date: Mon, 17 Aug 2015 14:55:22 -0500 Subject: [PATCH 01/42] Spelling and grammar edit. Minor spelling and grammar edit in the description of "Waypoint: Use Hex Code for Specific Colors" for clarity. --- seed/challenges/html5-and-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/html5-and-css.json b/seed/challenges/html5-and-css.json index 7bdce36cdb9..1bf7c3d1ba2 100644 --- a/seed/challenges/html5-and-css.json +++ b/seed/challenges/html5-and-css.json @@ -3431,7 +3431,7 @@ "description": [ "Did you know there are other ways to represent colors in CSS? One of these ways is called hexadecimal code, or hex code for short.", "Decimal means the numbers zero through nine - the numbers that people use in everyday life. Hexadecimal includes these 10 numbers, plus the letters A, B, C, D, E and F. This means that Hexidecimal has a total of 16 possible values, instead of the 10 possible values that our normal base-10 number system gives us.", - "With CSS, we use 6 hexidecimal number to represent colors. For example, #000000 is the lowest possible value, and it represents the color black.", + "With CSS, we use 6 hexadecimal numbers to represent colors. For example, #000000 is the lowest possible value, and it represents the color black.", "Replace the word black in our body element's background-color with its hex code representation, #000000. " ], "tests": [ From 8f0fba855ee6e5afce8d2d6504c64a1688722e5f Mon Sep 17 00:00:00 2001 From: ayampol Date: Mon, 17 Aug 2015 16:43:43 -0400 Subject: [PATCH 02/42] Update basic-ziplines.json Add missing around <a target='_blank'&rt;. --- seed/challenges/basic-ziplines.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-ziplines.json b/seed/challenges/basic-ziplines.json index 7b7ca96c27a..ff727549610 100644 --- a/seed/challenges/basic-ziplines.json +++ b/seed/challenges/basic-ziplines.json @@ -52,7 +52,7 @@ "Bonus User Story: As a user, I navigate to different sections of the webpage by clicking buttons in the navigation.", "Don't worry if you don't have anything to showcase on your portfolio yet - you will build several several apps on the next few CodePen challenges, and can come back and update your portfolio later.", "There are many great portfolio templates out there, but for this challenge, you'll need to build a portfolio page yourself. Using Bootstrap will make this much easier for you.", - "Note that CodePen.io overrides the Window.open() function, so if you want to open windows using jquery, you will need to target invisible anchor elements like this one: <a target='_blank'&rt;.", + "Note that CodePen.io overrides the Window.open() function, so if you want to open windows using jquery, you will need to target invisible anchor elements like this one: <a target='_blank'&rt;.", "Remember to use Read-Search-Ask if you get stuck.", "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.

Click here then add your link to your tweet's text" From 5034a92038221ff7e1d1ce248caf9a018f6d5c78 Mon Sep 17 00:00:00 2001 From: ayampol Date: Mon, 17 Aug 2015 16:49:19 -0400 Subject: [PATCH 03/42] Fix code tags Changed &rt to >. --- seed/challenges/basic-ziplines.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-ziplines.json b/seed/challenges/basic-ziplines.json index ff727549610..408eecdde83 100644 --- a/seed/challenges/basic-ziplines.json +++ b/seed/challenges/basic-ziplines.json @@ -52,7 +52,7 @@ "Bonus User Story: As a user, I navigate to different sections of the webpage by clicking buttons in the navigation.", "Don't worry if you don't have anything to showcase on your portfolio yet - you will build several several apps on the next few CodePen challenges, and can come back and update your portfolio later.", "There are many great portfolio templates out there, but for this challenge, you'll need to build a portfolio page yourself. Using Bootstrap will make this much easier for you.", - "Note that CodePen.io overrides the Window.open() function, so if you want to open windows using jquery, you will need to target invisible anchor elements like this one: <a target='_blank'&rt;.", + "Note that CodePen.io overrides the Window.open() function, so if you want to open windows using jquery, you will need to target invisible anchor elements like this one: <a target='_blank'>.", "Remember to use Read-Search-Ask if you get stuck.", "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.

Click here then add your link to your tweet's text" From 32eeefa439c8d134257f6a7edb21bf1705c70f82 Mon Sep 17 00:00:00 2001 From: Aryan Jabbari Date: Mon, 17 Aug 2015 22:19:14 -0400 Subject: [PATCH 04/42] Fixed #1909 #1972 --- seed/challenges/basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index 1096e028683..4b72ffdd493 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -150,7 +150,7 @@ "Bracket notation is a way to get a character at a specific index within a string.", "Computers don't start counting at 1 like humans do. They start at 0.", "For example, the character at index 0 in the word \"Charles\" is \"C\". So if var firstName = \"Charles\", you can get the value of the first letter of the string by using firstName[0].", - "Use bracket notation to find the first character in a the firstLetterOfLastName variable.", + "Use bracket notation to find the first character in the firstLetterOfLastName variable.", "Try looking at the firstLetterOfFirstName variable declaration if you get stuck." ], "tests": [ From db1afbc87bf340d847acd825c171c60dbcd3dd38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Mart=C3=ADnez?= Date: Tue, 18 Aug 2015 02:20:24 +0000 Subject: [PATCH 05/42] Fixes #1970 (minor typo) --- seed/challenges/html5-and-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/html5-and-css.json b/seed/challenges/html5-and-css.json index 7bdce36cdb9..33820856435 100644 --- a/seed/challenges/html5-and-css.json +++ b/seed/challenges/html5-and-css.json @@ -3749,7 +3749,7 @@ "description": [ "Another way you can represent colors in CSS is by using rgb values.", "RGB values look like this: rgb(0, 0, 0) for black and rgb(255, 255, 255) for white.", - "Instead of using six hexadecimal digits like you do with hex code, with rbg you specify the brightness of each color with a number between 0 and 255.", + "Instead of using six hexadecimal digits like you do with hex code, with rgb you specify the brightness of each color with a number between 0 and 255.", "If you do the math, 16 times 16 is 256 total values. So rgb, which starts counting from zero, has the exact same number of possible values as hex code.", "Let's replace the hex code in our body element's background color with the RGB value for black: rgb(0, 0, 0)" ], From fa31cdca0e912ce6309758e50b116fefc86e9bcd Mon Sep 17 00:00:00 2001 From: Aryan Jabbari Date: Mon, 17 Aug 2015 22:21:57 -0400 Subject: [PATCH 06/42] Fixed #1944 --- seed/challenges/basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index 1096e028683..a69da47e522 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -958,7 +958,7 @@ "We can use if statements in JavaScript to only execute code if a certain condition is met.", "if statements require some sort of boolean condition evaluate.", "Example:", - " if (1 == 2) {", + " if (1 === 2) {", "  return(true);", "}", "else {", From 0e43c46bffd1dac1e72262056b21e043298bd045 Mon Sep 17 00:00:00 2001 From: Aryan Jabbari Date: Mon, 17 Aug 2015 22:29:35 -0400 Subject: [PATCH 07/42] Fixed #1980 --- seed/challenges/basic-ziplines.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-ziplines.json b/seed/challenges/basic-ziplines.json index 7b7ca96c27a..662526a3658 100644 --- a/seed/challenges/basic-ziplines.json +++ b/seed/challenges/basic-ziplines.json @@ -48,7 +48,7 @@ "Here are the user stories you must enable, and optional bonus user stories:", "User Story: As a user, I can access all of the portfolio webpage's content just by scrolling.", "User Story: As a user, I can click different buttons that will take me to the portfolio creator's different social media pages.", - "User Story: As a user, I can see thumbnail images of different projects the portfolio creator has built (if you don't haven't built any websites before, use placeholders.)", + "User Story: As a user, I can see thumbnail images of different projects the portfolio creator has built (if you haven't built any websites before, use placeholders.)", "Bonus User Story: As a user, I navigate to different sections of the webpage by clicking buttons in the navigation.", "Don't worry if you don't have anything to showcase on your portfolio yet - you will build several several apps on the next few CodePen challenges, and can come back and update your portfolio later.", "There are many great portfolio templates out there, but for this challenge, you'll need to build a portfolio page yourself. Using Bootstrap will make this much easier for you.", From b3875a3d6e3a33ac72765e93baa54dc8f8465ef0 Mon Sep 17 00:00:00 2001 From: Aryan Jabbari Date: Mon, 17 Aug 2015 22:31:37 -0400 Subject: [PATCH 08/42] Fixed #1982 --- seed/challenges/basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index 1096e028683..8ba38708271 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -755,7 +755,7 @@ "title": "Manipulate JavaScript Objects", "difficulty":"9.9823", "description":[ - "There are many ways to add and add and remove properties from objects.", + "There are many ways to add and remove properties from objects.", "For example, we can add properties to objects like this:", "myObject.myProperty = \"myValue\";", "We can also delete them like this:", From 5d54d98190aa1783af3ca47433ef89fe80f1443f Mon Sep 17 00:00:00 2001 From: Aryan Jabbari Date: Mon, 17 Aug 2015 22:54:08 -0400 Subject: [PATCH 09/42] Fixes #1924 --- seed/challenges/basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index 1096e028683..0c94fc48029 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -1040,7 +1040,7 @@ ], "challengeSeed":[ "var test = (function() {", - " var testString = \"There's 3 cats but 4 dogs.\";", + " var testString = \"There are 3 cats but 4 dogs.\";", "", " // Only change code below this line.", "", From c5d07b9e051b4856b5eb67db905a807c29a95413 Mon Sep 17 00:00:00 2001 From: Brett Guillory Date: Mon, 17 Aug 2015 22:05:16 -0500 Subject: [PATCH 10/42] Potentially missing ; My browser was throwing an error: ```Uncaught SyntaxError: missing ) after argument list``` That pointed to this line in the console as far as I could tell. If this is a fix, w00t. If not, ignore this. --- server/views/partials/universal-head.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/views/partials/universal-head.jade b/server/views/partials/universal-head.jade index da6ed4c9143..bc27767eb5b 100644 --- a/server/views/partials/universal-head.jade +++ b/server/views/partials/universal-head.jade @@ -19,7 +19,7 @@ script. script(src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.11/angular.js") script. if (typeof window.angular === 'undefined') { - document.write('')); editor.refresh(); var resetEditor = function resetEditor() { - editor.setValue(allSeeds); + editor.setValue(allSeeds.replace((/fccss/gi), '')); updatePreview(); codeStorage.updateStorage(); };