You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,12 @@ Laptop, Google Chrome browser and a text editor. If you do not have a text edito
20
20
21
21
### Let's get started...
22
22
23
-
Run the SpecRunner.html file in a browser. This document shows 4 failing tests.
23
+
Run the SpecRunner.html file in a browser. This document current shows 4 failing tests.
24
24
25
-
The `spec` folder holds all the failing tests that are being displayed in SpecRunner.html. The `src` folder holds the functions that are being called to run the tests. Your task is to edit the filed in `src` to complete the functions and get the tests to pass. These files are just javascript files so you can use console.log to help debug and inspect these functions.
25
+
- The `spec` folder holds all the failing tests that are being displayed in SpecRunner.html.
26
+
- The `src` folder holds the functions that are being called to run the tests.
27
+
- Your task is to edit the files in `src` to complete the functions and get the tests to pass.
28
+
- These files are just javascript files so you can use `console.log` to help debug and inspect these functions.
26
29
27
30
## Recursion Review
28
31
@@ -63,23 +66,23 @@ In this sprint, you'll be practicing writing recursive functions, building up to
63
66
64
67
## Exercises
65
68
66
-
More detailed instructions for each exercise can be found in the individual .js files in the `src` folder.
69
+
More detailed instructions and examples for each exercise can be found in the individual `.js` files in the `src` folder.
67
70
68
71
### 1: sumArray
69
72
70
-
-[ ] Implement `sumArray` with your own function in `src/sumArray.js`
73
+
-[ ] Implement `sumArray` with your own code in `src/sumArray.js`
71
74
72
75
### 2: power
73
76
74
-
-[ ] Implement `power` with your own function in `src/power.js`
77
+
-[ ] Implement `power` with your own code in `src/power.js`
75
78
76
79
### 3: nthFibonacci
77
80
78
-
-[ ] Implement `nthFibonacci` with your own function in `src/nthFibonacci.js`
81
+
-[ ] Implement `nthFibonacci` with your own code in `src/nthFibonacci.js`
79
82
80
83
### 4: getElementsByClassName
81
84
82
-
-[ ] Implement `getElementsByClassName` with your own function in `src/getElementsByClassName.js`
85
+
-[ ] Implement `getElementsByClassName` with your own code in `src/getElementsByClassName.js`
83
86
-[ ] You should use `document.body`, `element.childNodes`, and `element.classList`
84
87
- NOTE: You may also use methods from the [underscore](https://underscorejs.org) library for assitance, but are not required to do so.
85
88
- You can view the MDN documentation for getElementsByClassName [here](https://developer.mozilla.org/en/docs/Web/API/Document/getElementsByClassName)
0 commit comments