**Tell us what’s happening
I need help, finding the solution to this challenge. i don’t know what I missed here.
Your code so far
var ourStr = "I come first. ";
ourStr += "I come second.";
// Only change code below this line
var myStr = "This is the first sentence.";
myStr += "This is the second sentence.";
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36.
Link to the challenge:
You need a space between the sentences.
im not understanding. i guess i dont see it.
At this point in this your code is console logging
This is the first sentence.This is the second sentence.
It needs to logging the sentences separated with a space. Like this:
This is the first sentence. This is the second sentence.
should it be in one string or two?
i have it written like this:
var myStr = “This is the first sentence.”;
myStr += “This is the second sentence.”;
Read carefully what they are asking you. Look at the first string, it is not the same as your first string.
myStr over several lines by concatenating these two strings:
"This is the first sentence. " and
"This is the second sentence." using the
+= operator. Use the
+= operator similar to how it is shown in the editor. Start by assigning the first string to
myStr , then add on the second string.