Tell us what’s happening:
Okay, i don’t understand how to pass this test. The hint page isn’t working and by using the hint page, I was able to do the last test. I just don’t understand what is expected of me to do because it seems like there is no answer. I don’t understand how to make it so that the return statements make sense. Every time I fix one issue, a new one shows up.
Your code so far
function testGreaterOrEqual(val) {
if (val>=10) { // Change this line
return "20 or Over";
}
if (val>=9) { // Change this line
return "10 or Over";
}
return "9 or Under";
}
// Change this value to test
testGreaterOrEqual(10);
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
.
Link to the challenge:
https://www.freecodecamp.org/challenges/comparison-with-the-greater-than-or-equal-to-operator