How do I return testElse to "5 or Smaller"?

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 {
    return "Bigger than 5";
  } else {
    return "5 or Smaller"; 
  }
  // Only change code above this line
  return result;
}

// Change this value to test
testElse(4);

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/introducing-else-statements

This line says - If val is less than or equal to 5, set result to Bigger than 5.

then this line effectively says - if val is greater than 5, also return Bigger than 5

then you have a 2nd else statement, which actually throws an error. you can’t have 2 else statements right next to each other.