Skip to content

Commit 3e0dc59

Browse files
committed
Fix broken links
1 parent c1dd0ae commit 3e0dc59

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Oops... Die rolled off the table
205205

206206
Since we want to practice with promises anyway, let's see what happens when we refactor the code to use promises:
207207

208-
#### Instructions - ex3
208+
#### Instructions ex3
209209

210210
- Run the unmodified program and confirm that the problem as described can be reproduced.
211211
- **TODO#1**: Refactor the `rollDie()` function from using a callback to returning a promise.
@@ -227,7 +227,7 @@ In this exercise we have provided a ready-made `rollDie()` function for you that
227227

228228
We have also provided some code that demonstrates how to handle throwing a single die. For this exercise you should do the following.
229229

230-
#### Instructions - ex4
230+
#### Instructions ex4
231231

232232
- **TODO#1**: Refactor the `rollDice()` function to throw five dice in one go, by using `.map()` on the `dice` array to create an array of promises for use with `Promise.all()`.
233233
- A successful (i.e. resolved) throw should output a message similar to:

assignment/ex3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Instructions: https://github.com/HackYourFuture/UsingAPIs-assignment-week1#instructions---ex3
1+
// Instructions: https://github.com/HackYourFuture/UsingAPIs-assignment-week1#instructions-ex3
22

33
// TODO#1
44
export function rollDie(callback) {

assignment/ex4.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Instructions: https://github.com/HackYourFuture/UsingAPIs-assignment-week1#instructions---ex4
1+
// Instructions: https://github.com/HackYourFuture/UsingAPIs-assignment-week1#instructions-ex4
22

33
// The line below makes the rollDie() function available to this file.
44
// Do not change or remove it.

0 commit comments

Comments
 (0)