I am putting the code in the same way that the instructions and video are telling me to but it wont work

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

Your code so far


// Only change code below this line
var a = 6;
var b = 15;
var c = "i am a string";
// Only change code above this line

a = a + 1;
b = b + 5;
c = c + " String!";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36

Challenge: Understanding Uninitialized Variables

Link to the challenge:

Hi @Qwerty
It is much easier to assist you if you describe the problem in the post in greater detail (not only describing it in short and using it as the title-name). You can get a good response much quicker and saves everyone time if you give us more details.

For example, I would like to know:

  • What was the goal in this exercise? (we don’t know all the exercises by heart :sweat_smile:, and this will likely be the first question if you don’t add it when you post the question. This is true for almost every question you could post connected to a test/exercise/project so be sure to answer it)

  • What have you tried?

Good practise can also be to try to answer:

  • What idea/thoughts do you have? (maybe you have had a thought to change b=b+5, into something more compact, but not sure how to do it)

The instructions say:

“Initialize the three variables a , b , and c with 5 , 10 , and "I am a" respectively”

What are your variables initialized to? Are they the same values that the instructions asked you to initialize them to?

1 Like

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