Concatenating Strings with the Plus Equals Operator help please

Concatenating Strings with the Plus Equals Operator help please
0
#1

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

#2

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

1 Like
#3

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