Match code snippets with their functionality.
Fetch API
Comprehension
Report a typo
Match the items from left and right columns
.catch((error) => console.log(error.message));fetch("https://jsonplaceholder.typicode.com/users").then((response) => {
return data;
}).then((json) => console.log(json))Error handling
Handling a successful response
Sending a request
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.