Concatenating strings with plus operator help

Here is the example: var ourStr = "I come first. " + “I come second.”;

My code: var myStr = “This is the start.” + “This is the end.”;

It’s saying my value is incorrect. What did I do wrong?

Thanks for your help!

1 Like

Missing a space between strings.

Is there more to your code? If you console.log myStr (console.log(myStr)) you should get the 2 strings combined as output.

No, I don’t it’s one of the challenges on here. Let me pull up a screenshot.

It’s still not working :frowning:

"This is the start.[here should be a space]"

1 Like

Thanks @jenovs That worked!