Concatenating Strings with Plus Operator -Ness

Tell us what’s happening:
Describe your issue in detail here.
const myStr = “This is the start.” + "This is the end. "; // Change this line
I got this erro message:
// running tests


should have a value of the string

This is the start. This is the end.

// tests completed
Could anyone help me please ?

Your code so far

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

Your browser information:

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

Challenge: Concatenating Strings with Plus Operator

Link to the challenge:

I think you are missing a space - after the end of your first sentence

also you have an extra space at the end of your second sentence

Yes, you are right, I already noticed :
const myStr = "This is the start. " + “This is the end.”;
Danke :slight_smile:

add spaces

  • " This is the end. "

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