Help please! on curly bracket

you just forgot now the curly braces… thats all

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

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

}else{
  return "Between 5 and 10";
 }
} // this is what you were missing. (thats the closing function braces).
testElseIf(7);

wow ! thanks sooo much…done!

error was after (val < 5) there should be {