From 91120fe70b2206dcfbaabf43b58bda369eef64de Mon Sep 17 00:00:00 2001 From: Owais Ali Date: Wed, 5 Oct 2022 13:58:26 +0500 Subject: [PATCH 1/6] Change language name from Python to JS --- getting-started-exercises.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started-exercises.md b/getting-started-exercises.md index a660433..54cef88 100644 --- a/getting-started-exercises.md +++ b/getting-started-exercises.md @@ -7,7 +7,7 @@ submit the URL of the repo. 1. Install [Node.js](https://nodejs.org/en/) and [VS Code](https://code.visualstudio.com/) on your computer. 2. Personal Message: Store a person’s name in a variable, and print a message to that person. Your message should be simple, such as, “Hello Eric, -would you like to learn some Python today?” +would you like to learn some Javascript today?” 3. Name Cases: Store a person’s name in a variable, and then print that person’s name in lowercase, uppercase, and titlecase. From 23f3ab9b9c6837b6950430fc13391db5dcc1b09f Mon Sep 17 00:00:00 2001 From: Owais Ali Date: Wed, 5 Oct 2022 14:01:03 +0500 Subject: [PATCH 2/6] Fix grammatical mistake --- getting-started-exercises.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started-exercises.md b/getting-started-exercises.md index 54cef88..455f696 100644 --- a/getting-started-exercises.md +++ b/getting-started-exercises.md @@ -52,7 +52,7 @@ to print a series of statements about these items, such as “I would like to ow 14. Guest List: If you could invite anyone, living or deceased, to dinner, who would you invite? Make a list that includes at least three people you’d like to invite to dinner. Then use your list to print a message to each person, inviting them to dinner. -15. Changing Guest List: You just heard that one of your guests can’t make the +15. Changing Guest List: You just heard that one of your guests can’t make it to the dinner, so you need to send out a new set of invitations. You’ll have to think of someone else to invite. From f3591bef41470568bec8856593ef88c87b1aac8d Mon Sep 17 00:00:00 2001 From: Owais Ali Date: Wed, 5 Oct 2022 14:13:27 +0500 Subject: [PATCH 3/6] Change Python method alternative in JS --- getting-started-exercises.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started-exercises.md b/getting-started-exercises.md index 455f696..ebf5de6 100644 --- a/getting-started-exercises.md +++ b/getting-started-exercises.md @@ -74,7 +74,7 @@ bigger dinner table. • Add one new guest to the beginning of your array. • Add one new guest to the middle of your array. -• Use append() to add one new guest to the end of your list. +• Use push() to add one new guest to the end of your list. • Print a new set of invitation messages, one for each person in your list. 17. Shrinking Guest List: You just found out that your new dinner table won’t arrive in time for the dinner, and you have space for only two guests. From e93864d322e988756fe2e527b33dd5d312525def Mon Sep 17 00:00:00 2001 From: Owais Ali Date: Wed, 5 Oct 2022 15:05:56 +0500 Subject: [PATCH 4/6] Fix typo --- getting-started-exercises.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started-exercises.md b/getting-started-exercises.md index ebf5de6..7c06e15 100644 --- a/getting-started-exercises.md +++ b/getting-started-exercises.md @@ -172,7 +172,7 @@ write an if-else chain. • Write one version of this program that runs the if block and another that runs the else block. -27. Alien Colors #3: Turn your if-else chain from Exercise 5-4 into an if-else chain. +27. Alien Colors #3: Turn your if-else chain from Exercise 5-4 into an if-else if-else chain. • If the alien is green, print a message that the player earned 5 points. From da8f044e1a5366004b21e88da8f37aeb74a1e8c8 Mon Sep 17 00:00:00 2001 From: Owais Ali Date: Wed, 5 Oct 2022 15:59:01 +0500 Subject: [PATCH 5/6] Fix question number reference --- getting-started-exercises.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started-exercises.md b/getting-started-exercises.md index 7c06e15..255724e 100644 --- a/getting-started-exercises.md +++ b/getting-started-exercises.md @@ -301,7 +301,7 @@ function call that includes the number of tracks on an album. 41. Magicians: Make a array of magician’s names. Pass the array to a function called show_magicians(), which prints the name of each magician in the array. -42. Great Magicians: Start with a copy of your program from Exercise 39. +42. Great Magicians: Start with a copy of your program from Exercise 41. Write a function called make_great() that modifies the array of magicians by adding the phrase the Great to each magician’s name. Call show_magicians() to see that the list has actually been modified. From 1258698fcf09fb6bf5837a6e409497b51bf0084b Mon Sep 17 00:00:00 2001 From: Owais Ali Date: Wed, 5 Oct 2022 16:03:45 +0500 Subject: [PATCH 6/6] fix another question number reference --- getting-started-exercises.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started-exercises.md b/getting-started-exercises.md index 255724e..3f690c4 100644 --- a/getting-started-exercises.md +++ b/getting-started-exercises.md @@ -306,7 +306,7 @@ Write a function called make_great() that modifies the array of magicians by add the phrase the Great to each magician’s name. Call show_magicians() to see that the list has actually been modified. -43. Unchanged Magicians: Start with your work from Exercise 40. Call the +43. Unchanged Magicians: Start with your work from Exercise 42. Call the function make_great() with a copy of the array of magicians’ names. Because the original array will be unchanged, return the new array and store it in a separate array. Call show_magicians() with each array to show that you have one array of the original