What is wrong? JS

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


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

Your browser information:

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

Challenge: Concatenating Strings with Plus Operator

Link to the challenge:

Two issues, that I can see. First, make sure your string is an exact match, the test is very precise. Does it start with "This is the start. "? (check spaces, too!)

Second, look at the variable name itself in the first line, and in the second. Do you see an issue?

1 Like

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