Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 855a9b1

Browse files
authored
Update MAKEME.md
1 parent 7ce55f8 commit 855a9b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Week1/MAKEME.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ Write a function that makes an API call to `https://www.randomuser.me/api`
3232

3333
Who knew programmers could be funny?
3434

35-
Write an function that makes an API call to `https://xkcd.com/info.0.json`
35+
Write an function that makes an API call to `https://xkcd.now.sh/?comic=latest`
3636

3737
- Inside the same file write two programs: one with `XMLHttpRequest`, and the other with `axios`
38-
- Each function should make an API call to the given endpoint: `https://xkcd.com/info.0.json`
38+
- Each function should make an API call to the given endpoint: `https://xkcd.now.sh/?comic=latest`
3939
- Log the received data to the console
4040
- Render the `img` property into an `<img>` tag in the DOM
4141
- Incorporate error handling

0 commit comments

Comments
 (0)