why i having error

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
var a= 6;
var b= 15;
var c="I am a";

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/90.0.4430.93 Safari/537.36.

Challenge: Understanding Uninitialized Variables

Link to the challenge:

Hi @suraj.wadwale915 !

Welcome to the forum!

I would reset the lesson because you changed code where you are not supposed to.

The instructions say to change code only here

After you reset the lesson, here are the FCC instructions
Initialize the three variables a , b , and c with 5 , 10 , and "I am a"

Assign those values of 5,10 and I am a to var a, b, and c.
Not 6,15, and I am a.

Make sense?

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