Needed help (FUNCTION WITH TWO PARAMETERS)


#1

Can somebody tell me what's wrong with my codes?


#2

on line 1, in your function declaration you have 4 parameters. You should have two.

Just like a variable, you can use a parameter multiply times inside a function.


#3

well it's getting better but I still have wrong in them, thanks anyway


#4

can you copy paste the exercise url and your code to the forum? So i can debug it in the exercise


#5

thanks


#6

the url is the same for everyone, i just needed it to get access to the lesson. Can i now also have your code?


#7

var perimeterBox = function(legth, width) {
return 2 * (length + width);
}
perimeterBox(4, 3)


#8

your function parameters, you misspelled length


#9

THANK YOU SO MUCHHHHHHHHHH!! AHAHA I THOUGHT I WOULD NEVER FINISH THAT HAHAHA


#10