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",
|
||||
" if ( typeof fahrenheit !== 'undefined' ) {",
|
||||
" return fahrenheit;",
|
||||
" return fahrenheit;",
|
||||
" } else {",
|
||||
" return 'fahrenheit not defined';",
|
||||
" }",
|
||||
@ -1264,11 +1264,11 @@
|
||||
"releasedOn": "January 1, 2016",
|
||||
"challengeSeed": [
|
||||
"function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {",
|
||||
" var result = \"\";",
|
||||
" // Your code below this line",
|
||||
" ",
|
||||
" var result = \"\";",
|
||||
" // Your code below this line",
|
||||
" ",
|
||||
"",
|
||||
" // Your code above this line",
|
||||
" // Your code above this line",
|
||||
" return result;",
|
||||
"}",
|
||||
"",
|
||||
@ -2488,9 +2488,9 @@
|
||||
" // Only change code below this line",
|
||||
"",
|
||||
" if (val) {",
|
||||
" if (val) {",
|
||||
" return \"Yes\";",
|
||||
" }",
|
||||
" if (val) {",
|
||||
" return \"Yes\";",
|
||||
" }",
|
||||
" }",
|
||||
"",
|
||||
" // Only change code above this line",
|
||||
@ -2524,7 +2524,7 @@
|
||||
"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 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:",
|
||||
"<blockquote>if (num > 10 || num < 5) {<br> return \"No\";<br>}<br>return \"Yes\";</blockquote>",
|
||||
"<h4>Instructions</h4>",
|
||||
|
Reference in New Issue
Block a user