JS lab 3
This commit is contained in:
1 parent
ae48ceff91
commit
f186c94048
9 files changed
+140
-1
No files matched your search
@@ -5,7 +5,7 @@ function fetchJson() {
|
||||
.then(data => {
|
||||
console.log(data);
|
||||
const tableBody = document.getElementById("meteorTableBody");
|
||||
data.splice(0,500).forEach(meteor => { // Just get 500 values for now
|
||||
data.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