Basic JavaScript - Understanding Uninitialized Variables

Hello, I have a problem here. did I make anything wrong?

Your code so far

// Only change code below this line
var a;
var b;
var c;
a = 5;
b = 10;
c = "I am a";
a = a + 1;
b = b + a -1;
c = c + " String!";
// Only change code above this line



Your browser information:

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

Challenge: Basic JavaScript - Understanding Uninitialized Variables

Link to the challenge:

hi there,
respect the comments,
The code unchanged looked like:

// Only change code below this line
var a;
var b;
var c;
// Only change code above this line
1 Like

sorry, still didn’t understand

Please don’t post a picture. Post actual code.

I would reset the code . You still have changes in a part of the code you were told to not change.

1 Like

scusi,
reseting that step would be the easiest way to change only that three lines into something like:

var x= x+1; var y=y+x-1; var z="Example",

happy coding.