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 <patrick.lehmann@homes.com>
This commit is contained in:
@ -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--
|
||||
|
||||
|
@ -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--
|
||||
|
||||
|
Reference in New Issue
Block a user