Introducing Else Statements (...!)

Tell us what’s happening:

Is this exercise still bugged? When I click the hint it’s already mentioned that this exercise is bugged. How do I get around this as I can’t continue now …please respond quick. I don’t want to get delay due to such crappy stuff.

Your code so far

function testElse(val) {
  var result = "";
  // Only change code below this line
  if (val > 5) {
    result = "Bigger than 5";
  } else {
    result = " 5 or smaller";
  // Only change code above this line
  return result;

// Change this value to test

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36.

Link to the challenge:

There isn’t a bug in this challenge. Your string must exactly match the expected text. Spaces and capitalization matter.


Wauw, I feel so stupid now! It was the space between " and 5. I’ll shut up and go back to my (programming) cave!