Basic JavaScript - Understanding Uninitialized Variables

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 = 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 (Linux; Android 12; RMX2151) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36

Challenge: Basic JavaScript - Understanding Uninitialized Variables

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

hello and welcome to fcc forum :slight_smile:

  • this is wrong, it has both “undefined” and “extra” string added next to it

lets read from instructions

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

address these changes and it should be alright, happy learning :slight_smile:

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