Hi everyone.... I was hoping to ask for help regarding the wikipedia viewer project.
I can get the json from wikipedia with jquery
I can build the url or wikipedia api request and plug it into my
but I can't seem to parse the result? firefox sends this error message
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
so what is the difference between json and jsonP? Am I suppose to convert the response to jsonP?
Is jquery the problem?
Do I have to make a manual AJAX request using
xhttp and then manually convert the
Basically after getting the json
After plugging in
I don't get anything. I can't access the json childs either with
or even with
Any advice would be much appreciated.
width:500px; height:500px; margin:5px auto 5px auto; border-radius:500px; background-color:blue; text-align:center; display:table; }
width:75px; height:40px; margin:0px auto 0px auto; border:none; border-radius:20px; background-color:#90CAF9
<link rel="stylesheet" href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/bootstrap.css">
in our <head></head>
now similarly I have saved all the code in my desktop folder with different file extensions .. How to add the jquery one to my html . .