mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-23 21:04:36 -05:00
fix(curriculum): add missing backslashes in hint text for JavaScript RPG project (#48896)
added missing needed backslashes Co-authored-by: Jessica Wilkins <67210629+jdwilkin4@users.noreply.github.com> Co-authored-by: Sem Bauke <semboot699@gmail.com> Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
This commit is contained in:
@@ -47,7 +47,7 @@ Your `update` function should set `button3.onclick` to `fightDragon`.
|
||||
assert.match(update.toString(), /button3\.onclick\s*=\s*fightDragon/);
|
||||
```
|
||||
|
||||
Your `update` function should set `text.innerText` to `You are in the town square. You see a sign that says "Store".`.
|
||||
Your `update` function should set `text.innerText` to `You are in the town square. You see a sign that says \"Store\".`.
|
||||
|
||||
```js
|
||||
assert.match(update.toString(), /text\.innerText\s*=\s*"You are in the town square. You see a sign that says \\"Store\\"\."/);
|
||||
|
||||
Reference in New Issue
Block a user