Concatenating Strings with Plus Operator error

My code is here .
var myStr = "This is the start. " + “This is the end.”;

ii showing error
Use the + operator to build myStr

i don’t understand …!

Can you post your actually code instead of a screenshot?

To enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.


Keep the code that it started with, and add your code after they tell you to add it. I think it bugs out if you remove their code sometimes.

1 Like

It worked… thanks a lot