hi. have been reading other comments asking for help on this challenge and they all seem similar to mine; think i’ve got everything right but it’s not letting me pass… what am i doing wrong?
my code is as follows:
function testSize(num) {
// Only change code below this line
if (testSize < 5) {
return "Tiny";
} else if (testSize < 10) {
return "Small";
} else if (testSize < 15) {
return "Medium";
} else if (testSize < 20) {
return "Large";
} else {
return "Huge";
}
// Only change code above this line
}
// Change this value to test
testSize(7);