Try Scrimba and Udemy free courses. The reason why I am not suggesting one specific course is because you need to find one that you can follow and I personally cannot follow all instructors.
It is difficult, but if you really want to learn it, you will get there at the end
You are trying to use two
= assignment operators in the same line - that is throwing the syntax error.
how to fix it…
You cannot do
a = a *= 5, for example.
You can do
a *= 5, which takes the current value of
a and multiplies it by 5.
Again, a syntax error. Take a look at the challenge instructions - they should explain how to use the operators you are being asked to use.
The challenge wants you to use the increment operator
++. You don’t need an assignment operator for this.
That is valid syntax, although it doesn’t make much sense.
let a = 10; a = a *= 10; console.log(a); // 100
This is however not valid syntax as you can not assign to a primitive value.
b = 3 *= b; // SyntaxError: Invalid left-hand side in assignment
If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.