CodeAcademy Store - Redux exercise


I have an issue related to CodeAcademy Store exercise.

I just completed all the steps but I have one error:

When I select the quantity, the total only displays a $NaN value.

How can I resolve this error?

It would be much easier to help you if we could see your code. I can make an educated guess, but I’ve not undertaken this exercise, so it is only a guess. The most likely cause would be that one or more of the values used in your calculation to get the total is not numeric.
For example:

const item = { name: "Cool Thing", price: 15.99 }; //item is an object literal, //so multiplying by 2 will return NaN console.log(item * 2); console.log(item.price * 2);