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:
Ansh Phirani
2023-01-03 19:02:33 +05:30
committed by GitHub
parent a73996c174
commit 3ee977c739

View File

@@ -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\\"\."/);