fix(curriculum): typo in make an RPG game (#48816)

Co-authored-by: Rahul <ranag@expediagroup.com>
Closes https://github.com/freeCodeCamp/freeCodeCamp/issues/48809
This commit is contained in:
Rahul Nag 2022-12-22 10:58:56 +05:30 committed by GitHub
parent acd74472f8
commit b4f08d7b96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ const info = document.querySelector("#info");
info.innerText = "Hello World";
```
This code would change the element assigned to the `div` variable to have the text `Hello World`.
This code would change the element assigned to the `info` variable to have the text `Hello World`.
When a player clicks your `Go to store` button, you want to change the buttons and text. Remove the code inside the `goStore` function and add a line that updates the text of `button1` to say `Buy 10 health (10 gold)`.