perimeterBox is not defined keeps coming up


"Did you define perimeterBox" is coming up


This is my code

// Write your function starting on line 3

var areaBox = function(length, width) {
    return length * width;

var parimeterBox = function(length, width) {
    return (length * 2) + (width * 2);   

parimeterBox(9, 3);

The answer is right but the code is apparently undefined for perimeterBox


It should be perimeter, not parimeter (a instead of e).


I was stupid enough to misspell it, thanks


It happens to everyone, you're very welcome :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.