Skip to content

Commit a93571f

Browse files
committed
up part 2 of requirements
1 parent 7d54ab1 commit a93571f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

script.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
// TODO: add code here
1+
// TODO: add code here
2+
window.addEventListener("load", function () {
3+
this.fetch("https://handlers.education.launchcode.org/static/astronauts.json").then(function (response) {
4+
return response.json();
5+
6+
})
7+
.then()
8+
})

0 commit comments

Comments
 (0)