I can't understand what's wrong with this


#1
  1. Create a let variable called changeMe and set it equal to the Boolean true.
  2. Set the changeMe variable to the boolean false. Log the value saved to changeMe to the console.

And here is my code:

let changeMe = true;
changeMe = false;
console.log(changeMe);

Where’s the mistake in here?
Please please help me to solve this


#2

Could you please post a link to the exercise?


#3

https://www.codecademy.com/courses/learn-javascript-introduction/lessons/variables/exercises/let


#4

Did you do it step by step? I mean validating

let changeMe = true;

first, then the rest? There’s no mistake here, so it’s either that, or it could be an issue with your browser I guess?

I’d try resetting the exercise, do it step by step, you haven’t made any mistakes :slight_smile:

If it still doesn’t work, try using another browser, just to check.


#5

Yeah i restarted the browser, at and it worked, i tried step by step before and sent me the error, but it worked already, thank you!


#6

Oops, found the problem. This is the old learning environment.
This course isn’t supported anymore and could be crippled with bugs…

I’d advise starting over, and for you to take the new course:
https://www.codecademy.com/learn/introduction-to-javascript

That would be much better, you don’t want to proceed with the course you’re currently taking.


#7

That’s the one i’m taking actually, can you help me with something else?


#8

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