Freecodecamp: Have no idea why this example of mine didn't pass

Created on 1 Sep 2016  路  4Comments  路  Source: freeCodeCamp/freeCodeCamp

Challenge Concatenating Strings with the Plus Equals Operator has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

var myStr = "This is the first sentence. ";
myStr += "This is the second sentence.";

All 4 comments

Confirmed. I'm getting the same issue.

If you reset the code in your editor you will see a comment line in the original code that looks like this:
// Only change code below this line

It's important to only change code where comments like that one instruct you to, or the tests can be interfered with, as has happened here.

Please remember to visit the Help chat room before raising an issue when you have a problem with your code, as many errors can be resolved that way without being reported as a bug 馃槃

Happy coding!

How to solve it? Please help me.
tuto3

@BariqFitri, Please use the HelpJavaScript chat room for getting challenge related help.

Happy Coding.

Was this page helpful?
0 / 5 - 0 ratings