The Modern JavaScript Bootcamp (2019) - A Fetch Challenge

The Modern JavaScript Bootcamp (2019) - A Fetch Challenge

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial guides viewers through converting the getCountry function to use the fetch API instead of XMLHttpRequest. It outlines three main steps: implementing fetch, ensuring the function resolves with the correct country object, and updating error handling using catch. The tutorial also covers simplifying code with arrow functions and testing the changes to ensure correct functionality. The video concludes with a successful demonstration of the updated code.

Read more

1 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What new insight or understanding did you gain from this video?

Evaluate responses using AI:

OFF