Grader not grading Introducing Else Statements correctly

I have used the following code a hundred different ways in the grader and it will not fall to the Else for 5 and 4:

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
testElse(4);

This works with other venues just not this grader.

Check your capitalization. smaller should be uppercase S.

I was stuck on this for way too long… I’m far from an expert but should case sensitivity in a string matter in these lessons about if/else statements? In a real application it wouldn’t matter right? Also, the solution even has a lower case ‘s’

Following instructions and paying attention to details is what matters. Also, JavaScript is case-sensitive, so if test code in a “real” application expected a certain case, then it could be the difference between passing and failing that test.

It does matter in the real world.