Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thanks, jlubiba! I appreciate it.
Here the issue is that you have re-declared the your variable again, and you have not added an element to separate the variable from the string in the console.log().
" 'string ' + variableName"
or" 'string', variableName"
.Note that when using the
+
, which is called the concatenate operator and is used to combine strings and other elements, I would advice to leave a space at the end of the string so that the string and the variable are not stuck together when printed.But when using the
,
it automatically leaves a space between the two elements.${The variable would be here}
, it can be declared here or just called in hereI hope that it helps. Keep up the good work.