showing results for - "how to show json data in javascript"
Victoria
06 Jan 2021
1fetch('people.json')
2  .then(function (response) {
3    return response.json();
4  })
5  .then(function (data) {
6    appendData(data);
7  })
8  .catch(function (err) {
9    console.log(err);
10  });