What am i doing wrong on varible c?

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

Your code so far

// Only change code below this line
var a; a = 5;
var b; b = 10; 
var c; c = 
// Only change code above this line

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13904.97.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.167 Safari/537.36

Challenge: Understanding Uninitialized Variables

Link to the challenge:

it didnt add the " i am a"; on varible c up there but yeah id kwhat im doing wrong.

Leaving these semicolons here is very unusual.

This is not valid syntax. You can’t leave that = sign dangling without a right hand side.

oh ok i just started this so idek what im doing really lol

The challenge that came before this one taught you how to initialize variables. Use the same syntax as shown in that challenge.

1 Like

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