diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript-rpg-game/part-026.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript-rpg-game/part-026.md index 12e2aec44b..ee955fc993 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript-rpg-game/part-026.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript-rpg-game/part-026.md @@ -7,7 +7,7 @@ dashedName: part-26 # --description-- -Add double quote marks around the word "Store" in the line "You see a sign that says Store." Before each quotation mark add a \\ to signal that the following quote is not the end of the string, but should instead appear inside the string. This is called escaping. +Add double quote marks around the word "Store" in the line "You see a sign that says Store." Before each quotation mark add a `\` to signal that the following quote is not the end of the string, but should instead appear inside the string. This is called escaping. # --hints-- diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.md index 700cf22c26..9906fc03da 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.md @@ -58,7 +58,7 @@ assert(/FirstLine\n/.test(myStr)); assert(/\n\t/.test(myStr)); ``` -`SecondLine` should be preceded by the backslash character \\ +`SecondLine` should be preceded by the backslash character `\` ```js assert(/\\SecondLine/.test(myStr)); diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings.md index ce8571d5fd..9fb92af9b5 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings.md @@ -11,7 +11,7 @@ dashedName: escaping-literal-quotes-in-strings When you are defining a string you must start and end with a single or double quote. What happens when you need a literal quote: `"` or `'` inside of your string? -In JavaScript, you can escape a quote from considering it as an end of string quote by placing a backslash (\\) in front of the quote. +In JavaScript, you can escape a quote from considering it as an end of string quote by placing a backslash (`\`) in front of the quote. `var sampleStr = "Alan said, \"Peter is learning JavaScript\".";` diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/catch-mixed-usage-of-single-and-double-quotes.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/catch-mixed-usage-of-single-and-double-quotes.md index 0d11a95773..90d6fcd958 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/catch-mixed-usage-of-single-and-double-quotes.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/catch-mixed-usage-of-single-and-double-quotes.md @@ -22,7 +22,7 @@ const uhOhGroucho = 'I've had a perfectly wonderful evening, but this wasn't it. The first two are correct, but the third is incorrect. -Of course, it is okay to use only one style of quotes. You can escape the quotes inside the string by using the backslash (\\) escape character: +Of course, it is okay to use only one style of quotes. You can escape the quotes inside the string by using the backslash (`\`) escape character: ```js const allSameQuotes = 'I\'ve had a perfectly wonderful evening, but this wasn\'t it.'; diff --git a/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/s-expressions.md b/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/s-expressions.md index 2fe01bce1c..19304897ae 100644 --- a/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/s-expressions.md +++ b/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/s-expressions.md @@ -22,9 +22,9 @@ Newlines and other whitespace may be ignored unless contained within a quoted st Handling escaped quotes inside a string is optional; thus "`(foo"bar)`" may be treated as a string "`foo"bar`", or as an error. -For this, the reader need not recognize "\\" for escaping, but should, in addition, recognize numbers if the language has appropriate data types. +For this, the reader need not recognize `\` for escaping, but should, in addition, recognize numbers if the language has appropriate data types. -Note that with the exception of "`()"`" ("\\" if escaping is supported) and whitespace there are no special characters. Anything else is allowed without quotes. +Note that with the exception of `()"` (`\` if escaping is supported) and whitespace, there are no special characters. Anything else is allowed without quotes. The reader should be able to read the following input