This doesn't work I tried it ...many different ways

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

Your code so far


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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0

Challenge: Concatenating Strings with Plus Operator

Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-plus-operatorhttps://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-plus-operatorI put spaces everywhere, I followed other people’s advise it doesn’t pass for what ever reason and also why is there a semi colon at the string before every one of these example strings?

so i go it it to work i don’t know what i was missing but it worked somehow still confused to why the wrong syn tact are being used leading me estray lol

It looks like you’ve omitted punctuation.

Build myStr from the strings This is the start. and This is the end. using the + operator.

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