Merge branch 'staging' of github.com:FreeCodeCamp/freecodecamp into staging
This commit is contained in:
@ -843,7 +843,7 @@
|
|||||||
"<code>  ourArray.push(i);</code>",
|
"<code>  ourArray.push(i);</code>",
|
||||||
"<code>  i++;</code>",
|
"<code>  i++;</code>",
|
||||||
"<code>}</code>",
|
"<code>}</code>",
|
||||||
"Let's try getting a for loop to work by pushing values to an array."
|
"Let's try getting a while loop to work by pushing values to an array."
|
||||||
],
|
],
|
||||||
"tests":[
|
"tests":[
|
||||||
"assert(editor.getValue().match(/while/g), 'You should be using a while loop for this.');",
|
"assert(editor.getValue().match(/while/g), 'You should be using a while loop for this.');",
|
||||||
|
@ -786,7 +786,7 @@
|
|||||||
"difficulty": 3.16,
|
"difficulty": 3.16,
|
||||||
"description": [
|
"description": [
|
||||||
"You can also target all the even-numbered elements.",
|
"You can also target all the even-numbered elements.",
|
||||||
"Here's how you would target all the odd-numbered elements with class <code>target</code> and give them classes: <code>$('.target:odd').addClass('animated shake');</code>",
|
"Here's how you would target all the odd-numbered elements with class <code>target</code> and give them classes: <code>$(\".target:odd\").addClass(\"animated shake\");</code>",
|
||||||
"Try selecting all the even-numbered elements - that is, what your browser will consider even-numbered elements - and giving them the classes of <code>animated</code> and <code>shake</code>."
|
"Try selecting all the even-numbered elements - that is, what your browser will consider even-numbered elements - and giving them the classes of <code>animated</code> and <code>shake</code>."
|
||||||
],
|
],
|
||||||
"tests": [
|
"tests": [
|
||||||
|
Reference in New Issue
Block a user