Defining variables

Tell us what’s happening:
I really don’t understand this challlenge. What am I expected to declare this variables with? I think i’m completely lost on this one

Your code so far


eaea// Initialize these three variables
var a = 6;
var b = 15;
var c = I am a String;

// Do not change code below this line

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:65.0) Gecko/20100101 Firefox/65.0.

var c = ... should be a string, that means that you have to surround it with quotes: 'I am a string'

1 Like

Okay thanks now I get it. the code i s supposed to be like this

// Initialize these three variables
var a = 5;
var b = 10;
var c = ‘I am a’;

// Do not change code below this line

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