Introducing Else Statements cant get past here

Tell us what’s happening:

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:

User Agent is: Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36.

Link to the challenge:

1 Like

The challenge tests for the literal string “5 or Smaller”. You used a small-caps ‘s’ in the word smaller.

you got to check every letter in these lessons because they are case sensitive and make sure you put your semicolons aswell those are sensitive to the freecodecamp compiler.