Concatenating Strings Tell us what’s happening:
Condition: myStr should have a value of This is the start. This is the end.
.
.
.
.
Below is my javaScript code:
// Example
var ourStr = "I come first. " + "I come second.";
// Only change code below this line
var myStr = "This is the start." + "This is the end.";
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36.
I did not checked the challenge itself ( since you haven’t linked it ) but, just wondering, is there a space between the final dot of the first sentence and the quote?
I’ve edited your post for readability. When you 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.
I have gone through that and I think you have the correct answer but you have issues with spacing in your code:
Here is what I did:
var myStr = "This is the start. " + "This is the end. ";
Pay attention to the spacing between the first section and the next. Happy coding!