Basic JavaScript - Concatenating Strings with Plus Operator

Tell us what’s happening:
I’ve looked around at forums and I don’t know what’s wrong with it. It says the code should have a value of the string of “This is the start. This is the end.”

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Concatenating Strings with Plus Operator

Link to the challenge:

I don’t think the instructions want a space at the end of this sentence.

1 Like

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