Hi please help , im sure the code is right i get the right answer but ts says its wrong and wont let me go further?
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
testElse(4);
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
.
Link to the challenge:
https://www.freecodecamp.org/challenges/introducing-else-statements