Basic JavaScript - Concatenating Strings with the Plus Equals Operator

Hello Guys
my code doesn’t pass,
Help please
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.";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Concatenating Strings with the Plus Equals Operator

Link to the challenge:

Double check your variable name.

Hint: JS is case sensitive.

And why put it all on one line? You know we don’t get charged for whitespace, right? :wink:

1 Like

Thank you
kevinSmith for your help
I was stuck since yesterday
Now the code passed

1 Like

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