Storing Values with the Assignment Operator-CodeDojer04

Storing Values with the Assignment Operator-CodeDojer04
0

#1

Tell us what’s happening:

Your code so far


// Setup
var a = 7;
var b = 2;

// Only change code below this line
var a = b

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/storing-values-with-the-assignment-operator

I am having some trouble doing this challenge. I am actually confused, whether to assign a number in both variables or something. Can I get some help?


#2

Hey that’s pretty close!

Make sure you are only changing lines of code where you are supposed. In this case, only change under the last comment.

I would reset your code. Assign 7 to a then assign a to b.

Good luck!


#3

Hey Shimphilip,

I found out the solution myself. Thanks, though. The thing about me, is I don’t read the problem carefully. But, I appreciate your help. Thanks again.

Have a Nice Day,

Thanks,
CoderDojer04