Question- please help me

Can someone tell me what I did wrong?? i stuk on this 2 day :frowning:

// Only change code below this line

var a = 5;

var b = 10;

var c = i am a;

// Only change code above this line

a = a + 1;

b = b + 5;

c = c + " String!";

whay dhis is not correct??
and what is the meaning of this- c should not contain undefined and should have a value of the string I am a String!

Do you have a link to the challenge? If you have an issue, please use the Get Help -> Ask for Help button - it gives us your code and a link to the challenge.

This is not valid JS. Remember that a string must be in quotes, lik:

var myStr = 'this is my string';

You can use single quotes (like here) or double quotes or even backticks.

thank you.
so i suld ask in ‘get help’ button next time?
Because they want me to try to ask questions in the forum first

The get help button will start a forum thread. How can I help you? Cheers :slight_smile:

hoooo sorry… its my first time… and its very hard for me. now i try to ask in ‘get hepl’ dutton and it lead me her… so now i understand what you mean…

the button creates a topic on the forum
what it says is to check other topics first

1 Like

i try to use single quotes like kevinsmith say but var c , still not correct

Please show us what you have and provide a link to the challenge.

I also notice that in the code you originally posted, the “I” is lowercase - in the test (and in English) it must be uppercase.

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

Your code so far


// Only change code below this line
var a = 5;
var b = 10;
var c = 'i am a';
// 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/89.0.4389.90 Safari/537.36.

Challenge: Understanding Uninitialized Variables

Link to the challenge:

OMG! You’re right…I finally succeeded
:kissing_heart: :kissing_heart: :kissing_heart:
thenk you all!

1 Like

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