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"; 
var c = "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 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1

Challenge: Basic JavaScript - Understanding Uninitialized Variables

Link to the challenge:

Hello and welcome.

You can´t declare the variable twice.

You must declare the variable c one time with the value "I am a"

Check your code.

(Advice: this post would have been better on the JavaScript forum)

Grets.

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