Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

fetcheAPI-text

About

Write an asynchronous function that fetches data from: https://jsonplaceholder.typicode.com/posts Use an AbortController to cancel the request if it takes more than 2 seconds. If successful, convert the response to JSON and log the total number of posts. If cancelled, log: Request was cancelled. Call the function to run it.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages