From the course: JavaScript: Ajax and Fetch

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Fix an Ajax request

Challenge: Fix an Ajax request - JavaScript Tutorial

From the course: JavaScript: Ajax and Fetch

Start my 1-month free trial

Challenge: Fix an Ajax request

(peppy music) - [Instructor] It's time for a challenge. Ready to try your hand at debugging an Ajax request? For this challenge, you need to use the begin folder for this video, which contains a broken API request for SmartyStreets. You'll need to troubleshoot and fix the errors. I've separated out the API key portion of the URL into its own variable to make it easier for you to swap in your own key. Be sure to update this value with your own key, or the request won't work. You'll know you're done when the zip code functionality in the form works. This challenge could take around 10 minutes. When you're done, join me in the next video, and I'll go over how I approached it.

Contents