There is a typo in the Cheatsheet “Overview with react” that may cause some confusion.
https://www.codecademy.com/learn/paths/build-web-apps-with-react/tracks/intro-to-building-web-apps-with-React/modules/overview-of-react/cheatsheet
On the example of “Remainder / Modulo Operator”, it shows the following code:
console.log("A year has " + weeksInYear + "weeks " and "daysLeftOver " + days)
Instead, the right code to expect may be as follows:
console.log("A year has " + weeksInYear + "weeks and " + daysLeftOver + "days")
Thank you for checking it out and correcting if necessary.
Cheers,
Adriaan
#english