freeCodeCamp icon indicating copy to clipboard operation
freeCodeCamp copied to clipboard

comparative language typo: then instead of than, in the description

Open xhad opened this issue 10 years ago • 0 comments

Challenge Waypoint: Introducing Else If Statements has an issue. User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

function myTest(val) {
  if(val > 10) {
    return "Greater than 10";
  }

  if(val < 5) {
    return "Smaller than 5";
  }

  return "Between 5 and 10";
}

// Change this value to test
myTest(7);


xhad avatar Jan 03 '16 09:01 xhad