From 1b7f0e86ddfc29c526d3f85f852128852afe3768 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:35:04 +0530 Subject: [PATCH 01/15] Exercise 15.1 --- Chapter 15/Exercise 15.1 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Chapter 15/Exercise 15.1 diff --git a/Chapter 15/Exercise 15.1 b/Chapter 15/Exercise 15.1 new file mode 100644 index 0000000..4b16f2e --- /dev/null +++ b/Chapter 15/Exercise 15.1 @@ -0,0 +1,18 @@ +[ + { + "name": "Learn JavaScript", + "status" : true + }, + { + "name": "Try JSON", + "status" : false + } +] + +const url = "list.json"; +fetch(url).then(rep => rep.json()) +.then((data) => { + data.forEach((el) => { + console.log(`${el.name} = ${el.status}`); + }); +}) From 6587478719a7194e25a04f5e1d317743e7593dee Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:35:15 +0530 Subject: [PATCH 02/15] Delete New Text Document.txt --- Chapter 15/New Text Document.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 Chapter 15/New Text Document.txt diff --git a/Chapter 15/New Text Document.txt b/Chapter 15/New Text Document.txt deleted file mode 100644 index e69de29..0000000 From 22d917a42b5a08ab062781e77bbdb0b19e0f6be3 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:35:39 +0530 Subject: [PATCH 03/15] Project 1 --- Chapter 15/Project 1 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Chapter 15/Project 1 diff --git a/Chapter 15/Project 1 b/Chapter 15/Project 1 new file mode 100644 index 0000000..8f44f53 --- /dev/null +++ b/Chapter 15/Project 1 @@ -0,0 +1,38 @@ + + + Project 14 + + + + + +// myscript.js +let url = "people.json"; +fetch(url) +.then(response => response.json()) +.then(data => { + console.log(data); + data.forEach(person => { + console.log(`${person.first} ${person.last} - ${person.topic}`); + }); +}); + + +// people.json +[ + { + "first": "Laurence", + "last": "Svekis", + "topic": "JavaScript" + }, + { + "first": "John", + "last": "Smith", + "topic": "HTML" + }, + { + "first": "Jane", + "last": "Doe", + "topic": "CSS" + } +] From d159cdb0c5684f11d128579c82884a94095c1080 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:35:59 +0530 Subject: [PATCH 04/15] Project 2 --- Chapter 15/Project 2 | 65 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Chapter 15/Project 2 diff --git a/Chapter 15/Project 2 b/Chapter 15/Project 2 new file mode 100644 index 0000000..11178a2 --- /dev/null +++ b/Chapter 15/Project 2 @@ -0,0 +1,65 @@ + + + + JavaScript List Project + + +
+ + + + From 66ac06cf49779b947da51df95695c67a2a805713 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:36:36 +0530 Subject: [PATCH 05/15] Exercise 14.1 --- Chapter 14/Exercise 14.1 | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Chapter 14/Exercise 14.1 diff --git a/Chapter 14/Exercise 14.1 b/Chapter 14/Exercise 14.1 new file mode 100644 index 0000000..78ca4d7 --- /dev/null +++ b/Chapter 14/Exercise 14.1 @@ -0,0 +1,39 @@ + + + + Complete JavaScript Course + + + + +
+ + + + From 385203324cc6a0ee5eeb9a44837a68cf3dec36d9 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:38:22 +0530 Subject: [PATCH 06/15] Exercise 14.2 --- Chapter 14/Exercise 14.2 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Chapter 14/Exercise 14.2 diff --git a/Chapter 14/Exercise 14.2 b/Chapter 14/Exercise 14.2 new file mode 100644 index 0000000..d0c8fa0 --- /dev/null +++ b/Chapter 14/Exercise 14.2 @@ -0,0 +1,22 @@ + + + + Canvas HTML5 + + + + Not Supported + + + From 113996b2cc8615b44c31a59b683741583884488f Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:38:48 +0530 Subject: [PATCH 07/15] Exercise 14.3 --- Chapter 14/Exercise 14.3 | 52 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Chapter 14/Exercise 14.3 diff --git a/Chapter 14/Exercise 14.3 b/Chapter 14/Exercise 14.3 new file mode 100644 index 0000000..0aa8771 --- /dev/null +++ b/Chapter 14/Exercise 14.3 @@ -0,0 +1,52 @@ + + + + Canvas HTML5 + + + + Not Supported + + + From 847aae6ac4e52ca6c0c68894b8dec5f7a07f7fd1 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:39:11 +0530 Subject: [PATCH 08/15] Exercise 14.4 --- Chapter 14/Exercise 14.4 | 52 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Chapter 14/Exercise 14.4 diff --git a/Chapter 14/Exercise 14.4 b/Chapter 14/Exercise 14.4 new file mode 100644 index 0000000..0aa8771 --- /dev/null +++ b/Chapter 14/Exercise 14.4 @@ -0,0 +1,52 @@ + + + + Canvas HTML5 + + + + Not Supported + + + From da96ee21301ce2ab002ed0ef34ec2894d11f7370 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:39:32 +0530 Subject: [PATCH 09/15] Exercise 14.5 --- Chapter 14/Exercise 14.5 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Chapter 14/Exercise 14.5 diff --git a/Chapter 14/Exercise 14.5 b/Chapter 14/Exercise 14.5 new file mode 100644 index 0000000..0bd4927 --- /dev/null +++ b/Chapter 14/Exercise 14.5 @@ -0,0 +1,38 @@ + + + + Canvas HTML5 + + + +
+ +
+
+ + + From 0a4f19f60f428a20b84cd0711f1fd78e8079a5f5 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:39:57 +0530 Subject: [PATCH 10/15] Exercise 14.6 --- Chapter 14/Exercise 14.6 | 43 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Chapter 14/Exercise 14.6 diff --git a/Chapter 14/Exercise 14.6 b/Chapter 14/Exercise 14.6 new file mode 100644 index 0000000..ebc0dce --- /dev/null +++ b/Chapter 14/Exercise 14.6 @@ -0,0 +1,43 @@ + + + + Canvas HTML5 + + + +
+ + + From f65e6dc4c81c3d625da90fb89eab20b36b3d1aa9 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:40:18 +0530 Subject: [PATCH 11/15] Exercise 14.7 --- Chapter 14/Exercise 14.7 | 60 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Chapter 14/Exercise 14.7 diff --git a/Chapter 14/Exercise 14.7 b/Chapter 14/Exercise 14.7 new file mode 100644 index 0000000..6d4cab6 --- /dev/null +++ b/Chapter 14/Exercise 14.7 @@ -0,0 +1,60 @@ + + + + + + +
+ Color + Width +
+ + + + + + From d673d78d5ce8da1f8ce8c83eaf7fde455e0948fc Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:40:52 +0530 Subject: [PATCH 12/15] Project 1 --- Chapter 14/Project 1 | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Chapter 14/Project 1 diff --git a/Chapter 14/Project 1 b/Chapter 14/Project 1 new file mode 100644 index 0000000..fd60d88 --- /dev/null +++ b/Chapter 14/Project 1 @@ -0,0 +1,37 @@ + + + + Canvas HTML5 + + +
+ + + From 19e50aa407975417844fb6691f864b611624a2fb Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:55:54 +0530 Subject: [PATCH 13/15] Project 3 --- Chapter 14/Project 3 | 89 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 Chapter 14/Project 3 diff --git a/Chapter 14/Project 3 b/Chapter 14/Project 3 new file mode 100644 index 0000000..ceab656 --- /dev/null +++ b/Chapter 14/Project 3 @@ -0,0 +1,89 @@ + + + + Canvas HTML5 + + + + +
+ + + Color: + Width: +
+
+ + + + From 6b581d649d4b7ffcb3729648c1959aefd484dfe2 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:56:41 +0530 Subject: [PATCH 14/15] Project 2 --- Chapter 14/Project 2 | 96 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 Chapter 14/Project 2 diff --git a/Chapter 14/Project 2 b/Chapter 14/Project 2 new file mode 100644 index 0000000..10166c9 --- /dev/null +++ b/Chapter 14/Project 2 @@ -0,0 +1,96 @@ + + + + JavaScript + + + +
+ +
0 Days 0 + Hours 0 Minutes 0 + Seconds +
+
+ + + + From 2ead46a89603bbc66bf22bbd2249e46f237eee47 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:57:42 +0530 Subject: [PATCH 15/15] Exercise 13.1 --- Chapter 13/Exercise 13.1 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Chapter 13/Exercise 13.1 diff --git a/Chapter 13/Exercise 13.1 b/Chapter 13/Exercise 13.1 new file mode 100644 index 0000000..6d0703f --- /dev/null +++ b/Chapter 13/Exercise 13.1 @@ -0,0 +1,9 @@ +function greet(fullName){ + console.log(`Welcome, ${fullName[0]} ${fullName[1]}`) +} +function processCall(user, callback){ + const fullName = user.split(" "); + callback(fullName); +} + +processCall("Laurence Svekis", greet);