Basic JavaScript - Concatenating Strings with the Plus Equals Operator

Tell us what’s happening:
Hello all I am having trouble with this code I don’t know what I’m doing wrong. I am watching the video and doing everything exactly the same but it still won’t let me pass. What am I doing wrong?

Your code so far

let myStr = "This is my first sentence. ";
myStr += "This is my second sentence. ";




Your browser information:

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

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

Link to the challenge:

Look like you have two issues:

  1. An extra space in the string.

  2. In both strings you have put the wrong word. Look carefully at the instructions.

Ok thanks so much, I’ll look over the work some more. I’m still trying to figure out this problem but ill try to read over and understand it more.