Basic JavaScript - Concatenating Strings with the Plus Equals Operator

Tell us what’s happening:
Describe your issue in detail here.
Hey, I’m trying to solve this code according to your instructions but it didn’t work, i’m not sure what’s wrong with that, any advice?
Your code so far
let ourStr = "This is the first sentence. ";

ourStr += “This is the second sentence.”;

let ourStr = "This is the first sentence. ";
ourStr += "This is the second sentence.";

Your browser information:

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

Challenge: Basic JavaScript - Concatenating Strings with the Plus Equals Operator

Link to the challenge:

Build myStr over several lines

it wants it in that variable name.

I got it, thanks for your help.

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