I dont know how to pass this challenge with the else statements. This is my code here. Its not letting me pass because it says that my numbers below five need to have a result of smaller than 5. But Javascript says I’ve already done that. Heres a link to my page, https://www.freecodecamp.org/challenges/introducing-else-statements
and heres the code written down:
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(5);