Jla
1
Tell us what’s happening:
Your code so far
// Only change code below this line
var myStr = "This is the first sentence.";
myStr += "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/84.0.4147.105 Safari/537.36
.
Challenge: Concatenating Strings with the Plus Equals Operator
Link to the challenge:
Watch your spaces. The test program can be very finicky. Try cutting and pasting if the typing’s not working.
1 Like
@CactusWren2020 is spot on.
One useful technique is to console.log
your variables to see if you can spot what went funky. The missing space can be seen this way!