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`
3232
3333Who 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
You can’t perform that action at this time.
0 commit comments