Basic JavaScript - Concatenating Strings with Plus Operator

Tell us what’s happening:

concatenation problem.
const myStr = “This is the start. " + " This is the end.”;

I’m not sure what is wrong with the code.
I should add a single space in between the strings which i feel i did.
myStr should have a value This is the start. This is the end.

but there seems to be a problem

Your code so far

const myStr = "This is the start. "+"this is the end."; // Change this line
console.log(myStr)

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Challenge Information:

Basic JavaScript - Concatenating Strings with Plus Operator

Here is what the console returns

This is the start. this is the end.

now compare that with the correct answer.
check each letter.
it needs to be exact

myStr should have a value of the string This is the start. This is the end.

once you fix that, then it should pass

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