Skip to content

Commit 94c9fa3

Browse files
committed
final edit
1 parent c9e6fa9 commit 94c9fa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

challenges/prototypes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
// Task: You are to build a pentagonal pyramid that can return values for its volume as well as its surface areas. Follow the steps to achieve this.
44

5-
// Step 1: Base Constructor -- You should create a constructor function names PentagonalPyramid that will accept properties for its length, width, and heights.
5+
// Step 1: Base Constructor -- You should create a constructor function names PentagonalPyramid that will accept properties for its base edge, and heights.
66

77
// Step 2: Volume Method -- You should create a prototype for PentagonalPyramid that returns the volume of a pentagonal pyramid. Curious about the formula??? Use Google (A DEVELOPERS BEST FRIEND)
88

99
// Step 3: Surface Area Method -- You should create a prototype fro PentagonalPyramid that returns the surface area of a pentagonal pyramid. Curious about the formula??? Use Google (A DEVELOPERS BEST FRIEND)
1010

1111
// Step 4: New Object -- You should create a new object that uses PentagonalPyramid. Give it the length, width, and height.
1212

13-
// Test your volume and surfaceArea methods here using console.log
13+
// Test your volume and surfaceArea methods here using console.log

0 commit comments

Comments
 (0)