Tell us what’s happening:
Describe your issue in detail here.
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!";
var a = 6 ;
var b = 15 ;
var c = 'I am a';
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15
Challenge: Understanding Uninitialized Variables
Link to the challenge:
Do you have a question?
If so, please edit your post to include it in the Tell us what’s happening section.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more information you give us, the more likely we are to be able to help.
I could not solve this code. Per " var c" part of the code.
Would you please help me ?
Hi @CodeChen007 !
Welcome to the forum!
I would reset the lesson.
You should only change code where the lesson tells you to.
You should not make any changes outside of that section.
As for the challenge, we need to initialize the three variables
b , and
10 , and
"I am a"
Remember that you learned how to assign values to a variable in this lesson.
You need to assign 5 to
a, 10 to
b and “I am a” to
When you do that correctly, then the logic here
will produce the correct results of 6,15, and I am a String!.
Hope that helps!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.