Merge pull request #6207 from regonn/fix-indent-basic-javascript
Fix indent at challenges/basic-javascript
This commit is contained in:
@ -700,7 +700,7 @@
|
|||||||
"",
|
"",
|
||||||
" // Only change code above this line",
|
" // Only change code above this line",
|
||||||
" if ( typeof fahrenheit !== 'undefined' ) {",
|
" if ( typeof fahrenheit !== 'undefined' ) {",
|
||||||
" return fahrenheit;",
|
" return fahrenheit;",
|
||||||
" } else {",
|
" } else {",
|
||||||
" return 'fahrenheit not defined';",
|
" return 'fahrenheit not defined';",
|
||||||
" }",
|
" }",
|
||||||
@ -1264,11 +1264,11 @@
|
|||||||
"releasedOn": "January 1, 2016",
|
"releasedOn": "January 1, 2016",
|
||||||
"challengeSeed": [
|
"challengeSeed": [
|
||||||
"function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {",
|
"function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {",
|
||||||
" var result = \"\";",
|
" var result = \"\";",
|
||||||
" // Your code below this line",
|
" // Your code below this line",
|
||||||
" ",
|
" ",
|
||||||
"",
|
"",
|
||||||
" // Your code above this line",
|
" // Your code above this line",
|
||||||
" return result;",
|
" return result;",
|
||||||
"}",
|
"}",
|
||||||
"",
|
"",
|
||||||
@ -2488,9 +2488,9 @@
|
|||||||
" // Only change code below this line",
|
" // Only change code below this line",
|
||||||
"",
|
"",
|
||||||
" if (val) {",
|
" if (val) {",
|
||||||
" if (val) {",
|
" if (val) {",
|
||||||
" return \"Yes\";",
|
" return \"Yes\";",
|
||||||
" }",
|
" }",
|
||||||
" }",
|
" }",
|
||||||
"",
|
"",
|
||||||
" // Only change code above this line",
|
" // Only change code above this line",
|
||||||
@ -2524,7 +2524,7 @@
|
|||||||
"description": [
|
"description": [
|
||||||
"The <dfn>logical or</dfn> operator (<code>||</code>) returns <code>true</code> if either of the <dfn>operands</dfn> is <code>true</code>. Otherwise, it returns <code>false</code>.",
|
"The <dfn>logical or</dfn> operator (<code>||</code>) returns <code>true</code> if either of the <dfn>operands</dfn> is <code>true</code>. Otherwise, it returns <code>false</code>.",
|
||||||
"The pattern below should look familiar from prior waypoints:",
|
"The pattern below should look familiar from prior waypoints:",
|
||||||
"<blockquote>if (num > 10) {<br> return \"No\";<br>}<br>if (num < 5) {<br> return \"No\";<br>}<br>return \"Yes\";</blockquote>",
|
"<blockquote>if (num > 10) {<br> return \"No\";<br>}<br>if (num < 5) {<br> return \"No\";<br>}<br>return \"Yes\";</blockquote>",
|
||||||
"will return \"Yes\" only if <code>num</code> is between <code>5</code> and <code>10</code> (5 and 10 included). The same logic can be written as:",
|
"will return \"Yes\" only if <code>num</code> is between <code>5</code> and <code>10</code> (5 and 10 included). The same logic can be written as:",
|
||||||
"<blockquote>if (num > 10 || num < 5) {<br> return \"No\";<br>}<br>return \"Yes\";</blockquote>",
|
"<blockquote>if (num > 10 || num < 5) {<br> return \"No\";<br>}<br>return \"Yes\";</blockquote>",
|
||||||
"<h4>Instructions</h4>",
|
"<h4>Instructions</h4>",
|
||||||
|
Reference in New Issue
Block a user