Concatenating Strings with the Plus Equals Operator (1)

Tell us what’s happening:

I’m confused and stuck can someone please help me get through this step

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 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15.

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

 "I come first. I come second." //how they're doing it
 "I come first.I come second."  //how you're doing it

See the problem? It’s small.

Hi @ero3423 :grinning:

put whitespace in starting of second sentence like this

myStr += " This is the second sentence.";