Update Project 1
This commit is contained in:
Vendored
+2
-2
@@ -6,7 +6,7 @@
|
|||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
// myscript.js
|
*/ myscript.js
|
||||||
let url = "people.json";
|
let url = "people.json";
|
||||||
fetch(url)
|
fetch(url)
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
@@ -16,7 +16,7 @@ fetch(url)
|
|||||||
console.log(`${person.first} ${person.last} - ${person.topic}`);
|
console.log(`${person.first} ${person.last} - ${person.topic}`);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
// people.json
|
// people.json
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user