12
.travis.yml
12
.travis.yml
@ -2,5 +2,15 @@ language: node_js
|
||||
|
||||
node_js:
|
||||
- '4.2.1'
|
||||
|
||||
|
||||
env:
|
||||
- CXX=g++-4.8
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-4.8
|
||||
|
||||
sudo: false
|
||||
|
@ -5,7 +5,7 @@ We welcome pull requests from Free Code Camp campers (our students) and seasoned
|
||||
|
||||
|
||||
1. Find an issue that needs assistance by searching for the [Help Wanted](https://github.com/FreeCodeCamp/FreeCodeCamp/labels/help%20wanted) tag.
|
||||
2. Let us know you are working on it, by posting a comment on the issue.
|
||||
2. Let us know you are working on it by posting a comment on the issue.
|
||||
3. Feel free to ask for help in our [Help Contributors](https://gitter.im/FreeCodeCamp/HelpContributors) Gitter room.
|
||||
|
||||
If you've found a bug that is not on the board, [follow these steps](#found-a-bug).
|
||||
|
@ -57,8 +57,8 @@ export class Lecture extends React.Component {
|
||||
return transcript.map((line, index) => (
|
||||
<p
|
||||
className='lead text-left'
|
||||
key={ dashedName + index }
|
||||
dangerouslySetInnerHTML={{__html: line}} />
|
||||
dangerouslySetInnerHTML={{__html: line}}
|
||||
key={ dashedName + index } />
|
||||
));
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
"async": "^1.5.0",
|
||||
"babel-cli": "^6.3.17",
|
||||
"babel-core": "^6.3.26",
|
||||
"babel-eslint": "^5.0.0",
|
||||
"babel-eslint": "^6.0.0",
|
||||
"babel-loader": "^6.2.1",
|
||||
"babel-plugin-add-module-exports": "^0.1.2",
|
||||
"babel-preset-es2015": "^6.3.13",
|
||||
@ -49,7 +49,7 @@
|
||||
"emmet-codemirror": "^1.2.5",
|
||||
"errorhandler": "^1.4.2",
|
||||
"es6-map": "~0.1.1",
|
||||
"eslint": "~2.2.0",
|
||||
"eslint": "^2.2.0",
|
||||
"eslint-plugin-react": "^4.1.0",
|
||||
"express": "^4.13.3",
|
||||
"express-flash": "~0.0.2",
|
||||
@ -110,8 +110,8 @@
|
||||
"react-redux": "^4.0.6",
|
||||
"react-router": "^2.0.0",
|
||||
"react-router-bootstrap": "~0.20.1",
|
||||
"react-toastr": "^2.4.0",
|
||||
"react-router-redux": "^2.1.0",
|
||||
"react-toastr": "^2.4.0",
|
||||
"react-vimeo": "~0.1.0",
|
||||
"redux": "^3.0.5",
|
||||
"redux-actions": "^0.9.1",
|
||||
|
@ -87,9 +87,9 @@
|
||||
},
|
||||
{
|
||||
"id": "56533eb9ac21ba0edf2244a8",
|
||||
"title": "Storing Values with the Equal Operator",
|
||||
"title": "Storing Values with the Assignment Operator",
|
||||
"description": [
|
||||
"In JavaScript, you can store a value in a variable with the <dfn>assignment</dfn> or <code>equal</code> (<code>=</code>) operator.",
|
||||
"In JavaScript, you can store a value in a variable with the <dfn>assignment</dfn> operator.",
|
||||
"<code>myVariable = 5;</code>",
|
||||
"Assigns the <code>Number</code> value <code>5</code> to <code>myVariable</code>.",
|
||||
"Assignment always goes from right to left. Everything to the right of the <code>=</code> operator is resolved before the value is assigned to the variable to the left of the operator.",
|
||||
@ -137,7 +137,7 @@
|
||||
},
|
||||
{
|
||||
"id": "56533eb9ac21ba0edf2244a9",
|
||||
"title": "Initializing Variables with the Equal Operator",
|
||||
"title": "Initializing Variables with the Assignment Operator",
|
||||
"description": [
|
||||
"It is common to <dfn>initialize</dfn> a variable to an initial value in the same line as it is declared.",
|
||||
"<code>var myVar = 0;</code>",
|
||||
@ -651,7 +651,7 @@
|
||||
},
|
||||
{
|
||||
"id": "56533eb9ac21ba0edf2244af",
|
||||
"title": "Assignment with Plus Equals",
|
||||
"title": "Compound Assignment With +=",
|
||||
"description": [
|
||||
"In programming, it is common to use assignments to modify the contents of a variable. Remember that everything to the right of the equals sign is evaluated first, so we can say:",
|
||||
"<code>myVar = myVar + 5;</code>",
|
||||
@ -702,7 +702,7 @@
|
||||
},
|
||||
{
|
||||
"id": "56533eb9ac21ba0edf2244b0",
|
||||
"title": "Assignment with Minus Equals",
|
||||
"title": "Compound Assignment With -=",
|
||||
"description": [
|
||||
"Like the <code>+=</code> operator, <code>-=</code> subtracts a number from a variable.",
|
||||
"<code>myVar = myVar - 5;</code>",
|
||||
@ -752,7 +752,7 @@
|
||||
},
|
||||
{
|
||||
"id": "56533eb9ac21ba0edf2244b1",
|
||||
"title": "Assignment with Times Equals",
|
||||
"title": "Compound Assignment With *=",
|
||||
"description": [
|
||||
"The <code>*=</code> operator multiplies a variable by a number.",
|
||||
"<code>myVar = myVar * 5;</code>",
|
||||
@ -802,7 +802,7 @@
|
||||
},
|
||||
{
|
||||
"id": "56533eb9ac21ba0edf2244b2",
|
||||
"title": "Assignment with Divided by Equals",
|
||||
"title": "Compound Assignment With /=",
|
||||
"description": [
|
||||
"The <code>/=</code> operator divides a variable by another number.",
|
||||
"<code>myVar = myVar / 5;</code>",
|
||||
|
@ -177,7 +177,7 @@
|
||||
"id": "bd7158d8c242eddfaeb5bd13",
|
||||
"title": "Build a Personal Portfolio Webpage",
|
||||
"description": [
|
||||
"<strong>Objective:</strong> Build a <a href='http://codepen.io' target='_blank'>CodePen.io</a> app that is functionally similar to this: <a href='http://codepen.io/FreeCodeCamp/full/VemmoX/' target='_blank'>http://codepen.io/FreeCodeCamp/full/VemmoX/</a>.",
|
||||
"<strong>Objective:</strong> Build a <a href='http://codepen.io' target='_blank'>CodePen.io</a> app that is functionally similar to this: <a href='http://codepen.io/hallaathrad/full/vNEPpL' target='_blank'>http://codepen.io/hallaathrad/full/vNEPpL</a>.",
|
||||
"<strong>Rule #1:</strong> Don't look at the example project's code. Figure it out for yourself.",
|
||||
"<strong>Rule #2:</strong> Fulfill the below <a href='http://en.wikipedia.org/wiki/User_story' target='_blank'>user stories</a>. Use whichever libraries you need. Give it your own personal style.",
|
||||
"<strong>User Story:</strong> I can access all of the portfolio webpage's content just by scrolling.",
|
||||
|
@ -86,8 +86,7 @@
|
||||
"Over the next few challenges, we'll build an HTML5 app that will look something like this:",
|
||||
"<a href=\"//i.imgur.com/jOc1JF1.png\" data-lightbox=\"img-enlarge\"><img class=\"img-responsive\" src=\"//i.imgur.com/jOc1JF1.png\" title=\"Click to enlarge\" alt=\"A screen shot of our finished Cat Photo App\"></a>",
|
||||
"The <code>h2</code> element you enter will create an <code>h2</code> element on the website.",
|
||||
"This element tells the browser how to render the text that it contains.",
|
||||
"<code>h2</code> elements are slightly smaller than <code>h1</code> elements. There are also <code>h3</code>, <code>h4</code>, <code>h5</code> and <code>h6</code> elements.",
|
||||
"This element tells the browser about the structure of your website. <code>h1</code> elements are often used for main headings, while <code>h2</code> elements are generally used for subheadings. There are also <code>h3</code>, <code>h4</code>, <code>h5</code> and <code>h6</code> elements to indicate different and new sections.",
|
||||
"Add an <code>h2</code> tag that says \"CatPhotoApp\" to create a second HTML <code>element</code> below your \"Hello World\" <code>h1</code> element."
|
||||
],
|
||||
"challengeSeed": [
|
||||
|
@ -155,7 +155,7 @@
|
||||
"title": "Where art thou",
|
||||
"description": [
|
||||
"Make a function that looks through an array of objects (first argument) and returns an array of all objects that have matching property and value pairs (second argument). Each property and value pair of the source object has to be present in the object from the collection if it is to be included in the returned array.",
|
||||
"For example, if the first argument is <code>[{ first: \"Romeo\", last: \"Montague\" }, { first: \"Mercutio\", last: null }, { first: \"Tybalt\", last: \"Capulet\" }]</code>, and the second argument is <code>{ last: \"Capulet\" }</code>, then you must return the third object from the array (the first argument), because it contains the property and it's value, that was passed on as the second argument.",
|
||||
"For example, if the first argument is <code>[{ first: \"Romeo\", last: \"Montague\" }, { first: \"Mercutio\", last: null }, { first: \"Tybalt\", last: \"Capulet\" }]</code>, and the second argument is <code>{ last: \"Capulet\" }</code>, then you must return the third object from the array (the first argument), because it contains the property and its value, that was passed on as the second argument.",
|
||||
"Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>Read-Search-Ask</a> if you get stuck. Write your own code."
|
||||
],
|
||||
"challengeSeed": [
|
||||
|
Reference in New Issue
Block a user