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 = " I am a";
// 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 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Mobile Safari/537.36

Challenge: Basic JavaScript - Understanding Uninitialized Variables

Link to the challenge:

Hi there and welcome to the forum!

When you need help from the forum, please try to describe the issue you’re having in your own words. Not only is it a useful skill in learning to code but also, the more you say, the more we can help!

In this case, you’re almost correct but you have an unnecessary space in your string. The space in the second half of the string has been put there so that the two strings don’t run directly into each other. You shouldn’t also have a space at the beginning of the string.

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