JavaScript: Understanding Uninitialized Variables

Tell us what’s happening:
I do not get anything on just this. please someone help me. Thank you!

Your code so far

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

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

Your browser information:

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

Challenge: Understanding Uninitialized Variables

Link to the challenge:

Hi @STHbothunter!

Welcome to the forum!

Are you confused on how to initialize the variables?

This is a variable declaration
var a;

and your job is to assign these variables with a value.

var a = some value

Make sense?

Thank you so much for helping me! I really appreciate it. I am new to coding and I am sometimes not getting stuff. Thanks!

Declaring just says “something can be or exist, but I don’t know what it is yet”
Initializing means giving it value. i.e A value is now defined for it.
Var (vari-able) means you can change the value to something else.

Not defining (or not giving value) is what is meant by undefined i.e “I don’t recognize a set value” … whether it is a string or number.

Hope it’s okay @STHbothunter ?

Thank you very much.