From d9419b8e6cadc91d699f21868fbe0e2bd83700a1 Mon Sep 17 00:00:00 2001 From: yoko <25644062+sidemt@users.noreply.github.com> Date: Thu, 13 Jun 2024 02:09:32 +0900 Subject: [PATCH] fix(curriculum): small fixes in JS spam filter project (#55170) --- .../641cdf57c3f7ee276e1d9b32.md | 2 +- .../641ce3065c50e62f97406973.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdf57c3f7ee276e1d9b32.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdf57c3f7ee276e1d9b32.md index 17b6fb04e8c..8fc99fb247f 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdf57c3f7ee276e1d9b32.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdf57c3f7ee276e1d9b32.md @@ -7,7 +7,7 @@ dashedName: step-5 # --description-- -Back in your event listener, you need to update the text of the `result` element. You can use a `ternary` operator to achieve this task. +Back in your event listener, you need to update the text of the `result` element. You can use a ternary operator to achieve this task. Here is an example of assigning the result of a ternary operator to an element's text content: diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce3065c50e62f97406973.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce3065c50e62f97406973.md index c0028fec254..d4f05d48cc1 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce3065c50e62f97406973.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce3065c50e62f97406973.md @@ -9,7 +9,7 @@ dashedName: step-7 Regular expressions can take flags to modify their behavior. For instance, the `i` flag can be used to make the expression ignore case, causing it to match `hello`, `HELLO`, and `Hello` for the expression `/hello/`. -Flags are added after the trailing backslash. Add the `i` flag to your `helpRegex`. +Flags are added after the trailing slash. Add the `i` flag to your `helpRegex`. # --hints--