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

banner
Close banner
0 points
Submitted by Arden Hudson
about 9 years

XML & JSON: 18/19 DON"T UNDERSTAND

How do you set the answer variable in the editor to appropriate answer?

Answer 54ea35cf51b88720f6004101

2 votes

Permalink

var answer = “JSON”;

points
about 9 years

Answer 54f4890176b8fec8fa007425

-2 votes

Permalink

Hi Arden, The following code worked for me, hope it does for you. var xhr = new XMLHttpRequest(); xhr.open(“GET”,”http://www.codecademy.com/“, false);

xhr.send();

points
Submitted by bobbymagee
about 9 years