DB lab 4
This commit is contained in:
@@ -3,7 +3,7 @@ fetch('./js/Meteorite_Landings.json')
|
||||
.then(data => {
|
||||
console.log(data);
|
||||
const tableBody = document.getElementById("meteorTableBody");
|
||||
data.forEach(meteor => {
|
||||
data.splice(0,50).forEach(meteor => { // Just get 50 values for now
|
||||
const row = document.createElement("tr");
|
||||
const id = document.createElement("td");
|
||||
id.textContent = meteor.id ?? "-";
|
||||
|
||||
Reference in New Issue
Block a user