JS Lab 4
This commit is contained in:
@@ -5,7 +5,7 @@ function fetchJson() {
|
||||
.then(data => {
|
||||
console.log(data);
|
||||
const tableBody = document.getElementById("meteorTableBody");
|
||||
data.forEach(meteor => { // Just get 500 values for now
|
||||
data.splice(0,35).forEach(meteor => { // Just get 500 values for now
|
||||
const row = document.createElement("tr");
|
||||
const id = document.createElement("td");
|
||||
id.textContent = meteor.id ?? "-";
|
||||
|
||||
Reference in New Issue
Block a user