I’ve been stuck on this lesson for about an hour, until I understood I had spacing issues.
This is my correct code
const wordBlanks = "We saw a "+ myNoun+ " It was a "+ myAdjective+ " Rotweiller "+ "It "+ myVerb+ " Very "+ myAdverb+ " Towards us"
Can anyone help me to understand how the spacing works exaclty? since I copied from a previous lesson without understanding the logic behind it.
“Watch out for spaces. Concatenation does not add spaces between concatenated strings, so you’ll need to add them yourself.”
I had to add a space between “We saw a (space)” or it would have been an error but why there? this isn’t not a space between strings it is very confusing.
It seems like a space between the last word and the quotation mark must be added is this true?
Hope you understood my question,! ty!