Skip to content

Commit c96ca72

Browse files
committed
modify readme
1 parent 003dc0b commit c96ca72

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Calculating an average is an extremely common task. Let's practice it a bit.
131131
1. Find the sum as we did in the first exercise
132132
2. Take the sum from step 1, and divide it by the number of elements in the list.
133133

134-
### Iteration 5: Level 1: Array of Numbers
134+
### Level 1: Array of Numbers
135135

136136
Write a function `averageNumbers` that receives an array of numbers and calculate the average of the numbers:
137137

@@ -141,7 +141,7 @@ Write a function `averageNumbers` that receives an array of numbers and calculat
141141
var numbers = [2, 6, 9, 10, 7, 4, 1, 9];
142142
```
143143

144-
### Iteration 6: Level 2: Array of Strings
144+
### Level 2: Array of Strings
145145

146146
Write a function `averageWordLength` that receives an array of words and calculate the average length of the words:
147147

@@ -162,7 +162,7 @@ var words = [
162162
];
163163
```
164164

165-
## Iteration 7: Unique Arrays
165+
## Iteration 5: Unique Arrays
166166

167167
Take the following array, remove the duplicates, and return a new array. You're more than likely going to want to check out the [`indexOf`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf) function.
168168

@@ -187,7 +187,7 @@ var words = [
187187

188188
```
189189

190-
## Iteration 8: Finding Elements
190+
## Iteration 6: Finding Elements
191191

192192
Let's create a simple array search.
193193

@@ -207,7 +207,7 @@ var words = [
207207
];
208208
```
209209

210-
## Iteration 9: Counting Repetion
210+
## Iteration 7: Counting Repetion
211211

212212
Write a function `howManyTimes` that will take in an array of words as one argument, and a word to search for as the other. The function will return the number of times that word appears in the array.
213213

0 commit comments

Comments
 (0)