Can someone help me fix my problem

it keep telling me mystr should have value of a string

Your code so far

var myStr ="This is the start. " + "This is the end. "; // Change this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Concatenating Strings with Plus Operator

Link to the challenge:

The tests are very specific and will look for an exact match.

// expected
"This is the start. This is the end."

// your string
"This is the start. This is the end. "

Even if subtle the two are not identical: you have an extra space at the end.

Hope it helps :sparkles:


This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.