Skip to content

Commit 2992e57

Browse files
committed
Fix broken links
1 parent 028bea0 commit 2992e57

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The individual exercises will be described in the sections below.
7676

7777
Who knew programmers could be funny?
7878

79-
#### Instructions - ex1
79+
#### Instructions ex1
8080

8181
- **TODO#1**: Complete the function `requestData()` to use `fetch()` to make a request to the URL passed as an argument. Return a promise that resolves with the data. Reject the promise in case of HTTP or network errors.
8282

@@ -106,7 +106,7 @@ In this exercise, you will:
106106
2. Fetch data from a public API: <https://pokeapi.co/api/v2/pokemon?limit=151>
107107
3. Display the results in the DOM.
108108

109-
#### Instructions - ex2
109+
#### Instructions ex2
110110

111111
- Complete the four functions provided in the starter `index.js` file (see table below). Ensure that the function bodies accurately implement the functionality implied by their names. (A mismatch between a function name and its implementation can lead to confusion.)
112112

@@ -159,7 +159,7 @@ Hmm, while this works fine, it is probably a bit difficult to wrap your head aro
159159

160160
Luckily, this code can be rewritten to be much simpler, using async/await.
161161

162-
#### Instructions - ex3
162+
#### Instructions ex3
163163

164164
- Run the unmodified exercise and observe that it works as advertised. Observe that the die must be thrown an indeterminate number of times until we get an ACE or until it rolls off the table.
165165

@@ -256,7 +256,7 @@ As for JSDoc, we do not expect you to use TypeScript during the HackYourFuture c
256256

257257
In this exercise, we will again throw five dice at once, but this time we are only interested in the first die that settles successfully (promise resolved) or rolls off the table (promise rejected). This is something for which the `Promise.race()` method seems to be ideal. If you successfully completed Exercise 4 last week, this one should be easy:
258258

259-
#### Instructions - ex4
259+
#### Instructions ex4
260260

261261
- **TODO#1**: Complete the function `rollDice()` by using `.map()` on the `dice` array to create an array of promises for use with `Promise.race()`.
262262

assignment/ex1/index.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-week2#instructions--ex1
1+
// Instructions: https://github.com/HackYourFuture/UsingAPIs-assignment-week2#instructions-ex1
22

33
function requestData(url) {
44
// TODO#1

assignment/ex2/index.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-week2.md#instructions--ex2
1+
// Instructions: https://github.com/HackYourFuture/UsingAPIs-assignment-week2#instructions-ex2
22

33
function fetchData(/* TODO parameter(s) go here */) {
44
// TODO#1

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-week2#instructions--ex3
1+
// Instructions: https://github.com/HackYourFuture/UsingAPIs-assignment-week2#instructions-ex3
22

33
// ! Do not change or remove the next two lines
44
import { rollDie } from '../helpers/pokerDiceRoller.js';

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-week2#instructions--ex4
1+
// Instructions: https://github.com/HackYourFuture/UsingAPIs-assignment-week2#instructions-ex4
22

33
// ! Do not remove these lines
44
import { rollDie } from '../helpers/pokerDiceRoller.js';

0 commit comments

Comments
 (0)