Concatenating Strings with the Plus Equals Operator pls i need help

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."  "This is the second sentence.';
myStr += "This is the second sentence.";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:65.0) Gecko/20100101 Firefox/65.0.

Link to the challenge:

You have an extra “This is the second sentence.” On the line where you create the first sentence (also don’t forget about the spaces between the sentences)

can you help me write it , thanks

You don’t need my help writing it.
right now, myStr is:

This is the first sentence." "This is the second sentence.This is the second sentence.

it is supposed to be

This is the first sentence. This is the second sentence.

Give it some thought. First and foremost, a programmer is a problem solver.

okay , thank you very much , true to that

1 Like