Update Project 1

This commit is contained in:
Karan
2021-11-30 18:33:40 +05:30
committed by GitHub
parent 4922576d74
commit e0f247c40c
+2 -2
View File
@@ -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
[ [