Basic JavaScript - Concatenating Strings with Plus Operator

Tell us what’s happening:
I’m not sure why my code is not working after messing around I can only see this was the only answer and when looking around in forums they were also stuck with this problem

Your code so far

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

The remaining criteria left is not met and I’m not able to figure out why

Your browser information:

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

Challenge: Basic JavaScript - Concatenating Strings with Plus Operator

Link to the challenge:

This string does not exactly match the requirements. You are missing one tiny point.

1 Like

In addition to what @igorgetmeabrain said. After you fix the string, you need to fix the spacing

1 Like

Thank you so much I’m in shocked I missed a whole period when its basically in the instructions of how its suppose to show in out put.

We have blurred this solution (with [spoiler][/spoiler] tags) so that users who have not completed this challenge can read the discussion in this thread without giving away the solution.

1 Like

Got it thank you for all yalls help.

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