diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8c7322e42962ad53ad204.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8c7322e42962ad53ad204.md index 37cd5c9c1d2..bed05c8d88b 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8c7322e42962ad53ad204.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8c7322e42962ad53ad204.md @@ -33,21 +33,21 @@ assert.equal(weapons[0].name, 'stick'); assert.equal(weapons[0].power, 5); ``` -Your second `weapons` object should have the `name` set to `dagger` and the `power` set to 30`. +Your second `weapons` object should have the `name` set to `dagger` and the `power` set to `30`. ```js assert.equal(weapons[1].name, 'dagger'); assert.equal(weapons[1].power, 30); ``` -Your third `weapons` object should have the `name` set to `claw hammer` and the `power` set to 50. +Your third `weapons` object should have the `name` set to `claw hammer` and the `power` set to `50`. ```js assert.equal(weapons[2].name, 'claw hammer'); assert.equal(weapons[2].power, 50); ``` -Your fourth `weapons` object should have the `name` set to `sword` and the `power` set to 100. +Your fourth `weapons` object should have the `name` set to `sword` and the `power` set to `100`. ```js assert.equal(weapons[3].name, 'sword'); diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8d35660db4040ba292193.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8d35660db4040ba292193.md index 58e81be8348..dbbf432519d 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8d35660db4040ba292193.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8d35660db4040ba292193.md @@ -17,7 +17,7 @@ You should use compound assignment to increase `gold` by `15`. assert.match(sellWeapon.toString(), /gold\s*\+=\s*15/); ``` -You should set `goldText.innerText` to gold. +You should set `goldText.innerText` to `gold`. ```js assert.match(sellWeapon.toString(), /goldText\.innerText\s*=\s*gold/); diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8d81f539f004776dd9b1e.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8d81f539f004776dd9b1e.md index 6b8c32b877e..f47ecd3e581 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8d81f539f004776dd9b1e.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8d81f539f004776dd9b1e.md @@ -9,7 +9,7 @@ dashedName: step-108 Now you can start the code to fight monsters. To keep your code organized, your `fightDragon` function has been moved for you to be near the other `fight` functions. -Below your `weapons` array, define a `monsters` variable and assign it an array. Set that array to have three objects, each with a `name`, `level`, and `health` property. The first object's values should be `slime`, `2`, and `15`, in order. The second should be `fanged beast`, `8`, and `60`. The third should be `dragon`, `20`, and `300`. +Below your `weapons` array, define a `monsters` variable and assign it an array. Set that array to have three objects, each with a `name`, `level`, and `health` properties. The first object's values should be `slime`, `2`, and `15`, in order. The second should be `fanged beast`, `8`, and `60`. The third should be `dragon`, `20`, and `300`. # --hints--