Where does this plus operator go?

Tell us what’s happening:
Describe your issue in detail here.
where should i put the plus opperator because if i put it where it tells me to it tells me that var myvar should equal This is the start. This is the end.
Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13505.111.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.152 Safari/537.36.

Challenge: Concatenating Strings with Plus Operator

Link to the challenge:

you have one single string, instead you need to have two strings, "This is the start. " and "This is the end." and concatenate them together with +

And the problem description has two examples:

'My name is Alan,' + ' I concatenate.'


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

As iahleen is saying, that + operator “concatenates” (adds one to the end of the other) the two strings.

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