Concatenating Strings with Plus Operator+

My question is why would i have to put the white space after start ??
Why won’t it just work without the space?

sorry for the noob question still new to coding

Your code so far

// Example
var ourStr = "I come first. " + "I come second.";

// Only change code below this line

var myStr = "This is the start. " + "This is the end.";


Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36.

Link to the challenge:
https://www.freecodecamp.org/challenges/concatenating-strings-with-plus-operator

Because sentences have spaces between them. The test is checking whether or not you created the exact string that was requested.

1 Like

Thank you for the quick response. Totally understand now!