Assigning variables isn't explained by the lesson!

Tell us what’s happening:

Assigning variables lesson doesn’t explain how to assign variables! How do you do this? I’ve tried every permutation of the elements mentioned in the lesson!

Your code so far

// Setup
var a;
var b = 2;

// Only change code below this line

var a = 7;
var b = 7;
var a = b;

Your browser information:

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

Link to the challenge:
https://www.freecodecamp.org/challenges/storing-values-with-the-assignment-operator

The instructions are pretty clear. You do variable = value, the var keyword is used to declare variables, and they are already declared for you in the top of the file. You don’t have to do anything more or less than what’s given in the example :slight_smile:

Happy coding!