Basic JavaScript - Understanding Uninitialized Variables

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

Your code so far

// 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!";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 Edg/103.0.1264.77

Challenge: Basic JavaScript - Understanding Uninitialized Variables

Link to the challenge:

You have initialized the variables correctly but strings must be EXACTLY what the instructions say

Hey!

This is the output when i try to run your code.

image

it looks like you removed a space from this line

and to make up for that you added an extra space on this line.

either you have to add the space where it belongs or you should restart the challenge.
Hope this helps! :smile:

1 Like

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