File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ Write a function that makes an API call to `https://www.randomuser.me/api`
32
32
33
33
Who knew programmers could be funny?
34
34
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 `
36
36
37
37
- 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 `
39
39
- Log the received data to the console
40
40
- Render the ` img ` property into an ` <img> ` tag in the DOM
41
41
- Incorporate error handling
You can’t perform that action at this time.
0 commit comments