I am in the process of adding an if/ else statement. it says 'reference error, invalid left-hand side in assignment'. What does this mean?
Hi Paul, please paste your code here.
You have to use == to compare (or even ===, if you want to compare types). A single = is for assignment.
So check which of this you use in your if statement.
this will correct your error