Concatenating Strings with the Plus Equals Operator help please

Tell us what’s happening:

Your code so far


// Example
var ourStr = "I come first. ";
ourStr += "I come second.";

// 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 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-the-plus-equals-operator

Your string had an extra space at the beginning, it seems to be the only issue

1 Like

Thank you so much! It was bugging me so much!