Chaining If Else Statements haaallpppp

Chaining If Else Statements haaallpppp
0.0 0

#1

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);

#2

re-read some comments and realised i’ve put testSize instead of num. duhhhh!