Basic JavaScript - Assigning the Value of One Variable to Another

Tell us what’s happening:
Every single one of the exercises has the solution already in my code, and all I have to do is press submit. Ive never done the javascript course. This is the second non sensical issue I’ve had since using this website again. It used to be perfect, but it’s now half broken. Is there a reason for this? I wasn’t given any insight as why this might be the case now. It is very frustrating, especially since they seem like easy fixes, but the problems make the learning much, much more difficult.

Your code so far

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

// Only change code below this line

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0

Challenge: Basic JavaScript - Assigning the Value of One Variable to Another

Link to the challenge:

This means someone who has used your computer has previously completed these exercises and left the solutions in the browser cache. I would fully clear your browser cache.

Jeremy, I appreciate your solution but the premise that someone has previously used my computer alone is quite the accusation. :joy: To then claim that someone has specifically went on freeCodeCamp for the javascript section and completed exercises there is just as insane. You could simply just admit that maybe there are some serious bugs on this platform that would be entirely your company’s fault. No need to make up wild scenarios in order to avoid responsibility.

I don’t know what to tell you. Literally, the only way for solution code to be on your browser is if someone put them in your browser cache.

Try clearing your browser’s cache, using a different browser, or using private/incognito mode.

1 Like

Maybe check that you’ve signed into the right account.

1 Like

No user solution code is stored for the JavaScript challenges on freeCodeCamp anywhere, so I don’t think it should matter if you have signed into a different account. All that would change is which account records the completion of the exercise.

1 Like

It looks like it works on Chrome, without being signed in. The issue seems to be on firefox. Im on the right account. The javascript exercises are not marked as completed, but they already have the perfect solution in the code, all that’s needed is a submit. Thanks for your help guys. And hmm okay Jeremy that does seem really odd. If it pops up again, Ill try to get some more info.

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