A = b, but apparently my a isn't assigned to b with equals, what am i doing wrong?

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

I have declared a = b in this code but when I go to the console and try to submit the form it still says " a should be assigned to b with = " what am i missing?

Your code so far

// Setup
var a;
a = 7;
// Only change code below this line
var b;
b = 7;
a = b;

Your browser information:

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

Challenge: Assigning the Value of One Variable to Another

Link to the challenge:

you don’t need to assign 7 to b , just only assign a to b(which means a=7 and b=a then b also = 7). That’s it!

another mistake is that you are saying that a = b which means you are assigning value of b to a , which is undefined !