Check out a free preview of the full Debugging and Fixing Common JavaScript Errors course

The "Challenge 8: jQuery Fails to Load" Lesson is part of the full, Debugging and Fixing Common JavaScript Errors course featured in this preview video. Here's what you'd learn in this lesson:

In this challenge, students record an error has occurred and attempt to improve the user experience.

Preview
Close

Transcript from the "Challenge 8: jQuery Fails to Load" Lesson

[00:00:00]
>> Now, there's another failure happening in our monitoring. Sometimes we're seeing jQuery is not defined. And so that's your turn. Simulate the jQuery fails to load just by commenting out the script tag in index.html. And then figure out how to do something intelligent with that information for the user.

[00:00:23]
Record an error that we've had this failure and do something intelligent to tell the user, hey, we know something broke, we will deal with it. Do something to improve the user experience of jQuery failing to load. Let's take ten more minutes, play around with it. There's notes in the exercise file and one possible solution at the bottom of it if you get stuck.

Learn Straight from the Experts Who Shape the Modern Web

  • In-depth Courses
  • Industry Leading Experts
  • Learning Paths
  • Live Interactive Workshops
Get Unlimited Access Now