This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by dr_sherlock
almost 9 years

Solution to 16/19

Many people are having problem with the code , even though it is most probably correct. The thing is you need to change the domain name from http://www.codecademy.com to https://www.codecademy.com/learn , since the former no longer exists. So the code will look something like this

var xhr = new XMLHttpRequest(); xhr.open(“GET”, “https://www.codecademy.com/learn“, false); xhr.send();

console.log(xhr.status); console.log(xhr.statusText);

Answer 55a4144676b8fef11d000005

11 votes

Permalink

Thanks man, it works now. Also pay attention to http”s”://…

points
Submitted by asdcaszx
almost 9 years

Answer 55bb601cd3292f39ad000542

1 vote

Permalink

Yeh the HTTPS has been a nightmare for this entire course. Wish it would get fixed.

points
Submitted by AshTube
over 8 years

Answer 55d3682fd3292f5f57000333

1 vote

Permalink

It also works with just adding the ‘s’ to http, without appending ‘learn’. Perhaps the person who moderates this tutorial should update the instructions and hints to reflect the correct web address? It may save some people a little frustration!

points
Submitted by Carol Murphy
over 8 years

Answer 55d2ca08e39efe20de000101

0 votes

Permalink

man, your the best.

points
over 8 years

Answer 560aab22b6254808870002b8

0 votes

Permalink

works normally if you type https instead of http

points
Submitted by Josri
over 8 years