From 5371af7767870f9c9840f3e54b903ca104bbea47 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Tue, 24 Aug 2021 13:26:45 -0400 Subject: [PATCH] fix(learn): removed space from first sentence and added instruction to basic javascript challenges (#43198) * sheesh * added markdown formatting to challenge * added formatting to keep space in concatenating strings with the plus equals operator * Delete husky.sh * added back in italian dictionary * removed code formatting * updating text formatting for challenges, removed space and added instruction Co-authored-by: Pat Lehmann --- .../concatenating-strings-with-plus-operator.md | 2 +- .../concatenating-strings-with-the-plus-equals-operator.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-plus-operator.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-plus-operator.md index 4b9adc2615..ffaa670aaa 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-plus-operator.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-plus-operator.md @@ -28,7 +28,7 @@ var ourStr = "I come first. " + "I come second."; The string `I come first. I come second.` would be displayed in the console. # --instructions-- -Build `myStr` from the strings `This is the start. ` and `This is the end.` using the `+` operator. +Build `myStr` from the strings `This is the start.` and `This is the end.` using the `+` operator. Be sure to include a space between the two strings. # --hints-- diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-the-plus-equals-operator.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-the-plus-equals-operator.md index e3eeaef1c2..9068232d73 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-the-plus-equals-operator.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-the-plus-equals-operator.md @@ -24,7 +24,7 @@ ourStr += "I come second."; # --instructions-- -Build `myStr` over several lines by concatenating these two strings: `This is the first sentence. ` and `This is the second sentence.` using the `+=` operator. Use the `+=` operator similar to how it is shown in the example. Start by assigning the first string to `myStr`, then add on the second string. +Build `myStr` over several lines by concatenating these two strings: `This is the first sentence.` and `This is the second sentence.` using the `+=` operator. Use the `+=` operator similar to how it is shown in the example and be sure to include a space between the two strings. Start by assigning the first string to `myStr`, then add on the second string. # --hints--