Comparison with the Less Than Operator

need help plese
function testLessThan(val) {
if (val < 10) { // Change this line
return “Under 25”;
}

if (val <55) { // Change this line
return “Under 55”;
}

return “55 or Over”;
}

// Change this value to test
testLessTh

go to this link https://www.freecodecamp.com/challenges/comparison-with-the-less-than-operator#?solution= function%20testLessThan(val)%20{ %20%20if%20(val%20<%2010)%20{%20%20%2F%2F%20Change%20this%20line %20%20%20%20return%20"Under%2025"%3B %20%20} %20%20 %20%20if%20(val%20<55)%20{%20%20%2F%2F%20Change%20this%20line %20%20%20%20return%20"Under%2055"%3B %20%20} %20%20return%20"55%20or%20Over"%3B } %2F%2F%20Change%20this%20value%20to%20test testLessThan(99)%3B

What is it that you’re having trouble with exactly?

Look here:

if (val < 10) {  // Change this line
  return "Under 25";  // hint!
}
1 Like

What do you mean. I don’t don’t understand