Giving error i put right answer

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


let myStr = "This is the first sentence."
myStr += "This is the second sentence."

console.log(myStr);

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36

Challenge: Concatenating Strings with the Plus Equals Operator

Link to the challenge:

This is what you are getting:

This is the first sentence.This is the second sentence.

This is what you are supposed to have according to the test output:

This is the first sentence. This is the second sentence.

Do you see the difference?

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