What is the problem?


#1

Keep getting "Oops, try again. There was a problem with your syntax."

// Write your function starting on line 3

var perimeterBox = function(4,7) {
return 4 * 7;
};

perimeterBox(4);


#2

Your using 4,7 as parameters, but parameters need to be variables, they get their values by the function call so e.g. in

var name = function(x,y){...

x and y would get their values by the values you enter here:

name(4,7)

#3

Thanks,
I changed it to (length,width) and it worked.