Hello I need some help i am new learning so well the question might be a little silly but anyways I am tired of search everywhere and not able to find the answer I need. 

So basically I have this json located at <http://swapi.co/api/people/1/?format=json>
and I have this function in javascript:

```
function get_data_api()
{
 var data = anything_in_http://swapi.co/api/people/1/?format=json

 alert("name_of_json_from_url")
 }

```

So what I am trying to is to assign to that var data everything cotained in the json URL and then fetched to every tag and show them in an alert.

Hope it makes sense!