Merge pull request #5968 from raisedadead/fix/unclear-instructions-conditinal-logic-with-if-waypoint

Fixes the Waypoint: Use Conditional Logic with If Statements with clearer instructions.
pull/5990/head
Rex Schrader 2016-01-08 11:32:08 -08:00
commit 0612b92eaa
1 changed files with 1 additions and 1 deletions

View File

@ -2110,7 +2110,7 @@
"<blockquote>function test(myVal) {<br> if (myVal > 10) {<br> return \"Greater Than\";<br> }<br> return \"Not Greater Than\";<br>}</blockquote>",
"If <code>myVal</code> is greater than <code>10</code>, the function will return <code>\"Greater Than\"</code>. If it is not, the function will return <code>\"Not Greater Than\"</code>.",
"<h4>Instructions</h4>",
"Create an <code>if</code> statement inside the function to return <code>\"Yes\"</code> if <code>testMe</code> is greater than <code>5</code>. Return <code>\"No\"</code> if it is less than or equal to <code>5</code>."
"Create an <code>if</code> statement inside the function to return <code>\"Yes\"</code> if <code>testMe</code> is greater than <code>5</code> and return <code>\"No\"</code> otherwise."
],
"challengeSeed": [
"// Example",