This forum is now read-only. Please use our new forums! Go to forums
[RESOLVED] 9/13 PLEASE HELP!
//DO NOT HAVE A CLUE, been on this for like 2 hours. NO LUCK.
// Write your function starting on line 3 var perimeterBox = function(length, width) { return legnth + length + width + width; }; perimeterBox(length, width);
Resolved version:
var perimeterBox = function(rectangle) {
return length * width;
};
Answer 55bc5b05e39efe6def000376
0 votes
var perimeterBox = function(length, width) { return legnth + length + width + width; }; perimeterBox(length, width);
you misspell the length…
Answer 55bc5bad9376766c550004f4
0 votes
you can simplify the formula of the perimeterBox by doing so
length * 2 + width * 2;
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency