Skip to content

Commit d8ebbcc

Browse files
committedSep 14, 2018
instruction updates
1 parent 11fe444 commit d8ebbcc

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed
 

‎challenges/classes.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
// Copy and paste your prototype in here and refactor into class syntax.
1+
// 1. Copy and paste your prototype in here and refactor into class syntax.
22

33
// Test your volume and surfaceArea methods by uncommenting the logs below:
44
// console.log(cuboid.volume()); // 100
55
// console.log(cuboid.surfaceArea()); // 130
66

7-
/* Stretch Task:
8-
9-
Extend the base class CuboidMaker with a sub class called CubeMaker. Find out the formulas for volume and surface area for cubes and create those methods as well. Create a new cube object and log out the results of your new cube.
10-
11-
*/
7+
// Stretch Task: Extend the base class CuboidMaker with a sub class called CubeMaker. Find out the formulas for volume and surface area for cubes and create those methods using the dimension properties from CuboidMaker. Test your work by logging out your volume and surface area.

‎challenges/objects-arrays.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ console.log(tyrannosaurus.roar());
2929

3030
// ==== Arrays ====
3131

32-
// Given an array of college graduates. Complete the following requests without using any array methods like .forEach(), .map(), .reduce(), .filter()
32+
// Given an array of college graduates. Complete the following requests WITHOUT using any array methods like .forEach(), .map(), .reduce(), .filter()
3333

3434
const graduates = [{"id":1,"first_name":"Cynde","university":"Missouri Southern State College","email":"ctorry0@macromedia.com"},
3535
{"id":2,"first_name":"Saundra","university":"The School of the Art Institute of Chicago","email":"swhal1@state.gov"},
@@ -63,9 +63,10 @@ const uni = [];
6363
console.log(uni);
6464

6565

66-
// ==== Array Methods ====
66+
// ==== ADVANCED Array Methods ====
67+
68+
// Given this zoo data from around the United States, follow the instructions below. You should use .map() and .reduce() to solve the problems below.
6769

68-
// Given this zoo data from around the United States, follow the instructions below
6970

7071
zooAnimals = [{"animal_name":"Jackal, asiatic","population":5,"scientific_name":"Canis aureus","state":"Kentucky"},
7172
{"animal_name":"Screamer, southern","population":1,"scientific_name":"Chauna torquata","state":"Alabama"},

0 commit comments

Comments
 (0)
Please sign in to comment.