I’ve been following this awesome tutorial to create a Rock Paper Scissors game:
but I’m stuck at 59:15. I’ve written the same exact code as him up to this point but the scores do not increment. What could be wrong?
Not sure if this will help but:
- I’m currently using Brackets
- In the .js file, I keep getting a weird error: “ERROR: Parsing error: The keyword const is reserved”
- I’m saving all my files in a folder on my desktop called “rock-paper-scissors”
- Here is my script tag:
<script src="app.js" charset="utf-8"></script>
I saved my code here in CodePen: https://codepen.io/24days1/pen/JjjVBzX
Does anyone know what’s wrong?