Basic JavaScript - Concatenating Strings with the Plus Equals Operator

I’m supposed to concatenate the two strings but I’m unable to do that. Please help
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 (Linux; Android 10; PPA-LX2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36

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

Link to the challenge:

Print the resulting value of the ‘myStr’ variable in the console. That code line is missing:

console.log(variable);

This is guidance.

Also, you should delete the blank space at the end of your second code line, between the period and the quotes.

Thank you very much :kissing_heart: I got it

1 Like

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