In this code it keeps saying you should not chnage cod below the specified moment when I didn't

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

Your code so far


// Initialize these three variables
var a = 5;
var b = 10;
var c = "I am a "
// Do not change code below the line
a = a + 1;
b = b + 5;
c = c + "String!";

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14469.59.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.94 Safari/537.36

Challenge: Understanding Uninitialized Variables

Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/understanding-uninitialized-variables

Do you have a space after the ‘a’? If so, get rid of that since it isn’t needed and will actually cause the test to fail.

This should be c = c + “ String!”; with a space before the String.

Good catch. I didn’t see that they had modified the original code there.

@merutland3106, in general, you should only change exactly what the instructions are asking. Don’t make any changes to the starter code unless specifically asked to, especially if there are comments telling you not to change code beyond a certain point :slight_smile:

bad double quotes, try rewrite

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