#5 https would not pass it alone


#1

I tried the suggestions and it would not pass it with https alone. I had to change my code to fake the statusText line to this (basically faking the console output):

var xhr = new XMLHttpRequest();
xhr.open(“GET”, “https://www.codecademy.com/”, false);
// Add your code below!
xhr.send();
console.log(xhr.status);
console.log(“OK”);


#2

It is a old tutorial, so maybe they won’t fix it.
But thank you for the “OK”.


#3

lol…literally. Why didn’t I think of this? TOTALLY solved the issue…well, not solved it, but at least I’m past this “level”.

Thank you so much!


The only way to get this call to work is with a typo