Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to show json data in javascript

fetch('people.json')
  .then(function (response) {
    return response.json();
  })
  .then(function (data) {
    appendData(data);
  })
  .catch(function (err) {
    console.log(err);
  });
Source by howtocreateapps.com #
 
PREVIOUS NEXT
Tagged: #show #json #data #javascript
ADD COMMENT
Topic
Name
2+4 =