I didn't understand where the error is in this code

Tell us what’s happening:
Describe your issue in detail here.
I didn’t understand where the error is in this code

Your code so far

// Only change code below this line

var myStr = "This is the first sentence. ”; 
myStr+="This is the second sentence.";

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36

Challenge: Concatenating Strings with the Plus Equals Operator

Link to the challenge:

The closing quote doesn’t look right. It should be "
Make sure you have smart quotes turned off.


If you are using a mobile device, the default keyboard does not always play well with the freeCodeCamp editor. I recommend you read the article on using a mobile device to view some tips - most importantly, check out the coding keyboards listed as they interface with the editor well.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.