From 5198236ec414606aa514eb77844a8d496ae6b3e6 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Tue, 30 Nov 2021 18:32:06 +0530 Subject: [PATCH] Update Exercise 15.1 --- Chapter 15/Exercise 15.1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Chapter 15/Exercise 15.1 b/Chapter 15/Exercise 15.1 index 2c9eddf..8bfc5c7 100644 --- a/Chapter 15/Exercise 15.1 +++ b/Chapter 15/Exercise 15.1 @@ -1,5 +1,5 @@ -// This is a json object, create a file named list.json and place this object[] in it -[ +// This is a json object, create a file named list.json in this directory and place this object[] in it. +/*[ { "name": "Learn JavaScript", "status" : true @@ -9,6 +9,7 @@ "status" : false } ] +*/ const url = "list.json"; fetch(url).then(rep => rep.json())