Question: JavaScript Zybooks 7.6.1 XMLHttpRequest (Ajax) CHALLENGE 7.6.1: XMLHttpRequest (Ajax) ACTIVITY Reset Display unauthorized if the response's status is 401. Otherwise, display not unauthorized. function responseReceivedHandler)
JavaScript Zybooks
7.6.1 XMLHttpRequest (Ajax)

CHALLENGE 7.6.1: XMLHttpRequest (Ajax) ACTIVITY Reset Display "unauthorized" if the response's status is 401. Otherwise, display "not unauthorized". function responseReceivedHandler) 3 Your solution goes here*/ 4 5 6 var xhr = new XMLHttpRequest(); 8 xhr.addEventListener("load", responseReceivedHandler; 9 xhr.addEventListener("error", responseReceivedHandler); 10 xhr.open("GET", "https://wp. zybooks.com/weather.php?zip-90210" 11 xhr.sendO 2 3 Check Next
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
