Concatenating strings with plus operator help

Concatenating strings with plus operator help
0

#1

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!


#2

Missing a space between strings.


#3

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


#4

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


#5

It’s still not working :frowning:


#6

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


#7

Thanks @jenovs That worked!