Error in lesson test?

Tell us what’s happening:
Describe your issue in detail here.
Hi all! I’m curious if anyone else has come across an error in their basic JavaScript lesson. I feel confident I edited the code correctly for this test but it is still saying there is an error is setting the FCC to const. Any input would be greatly appreciated. Is there a way to report a bug that I’m missing? Thank you!

Your code so far

const FCC = "FREECODECAMP"; // Change this line
let fact = "is cool!"; // Change this line
fact = "is awesome!";
console.log(FCC, fact); // Change this line

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15

Challenge: Declare a Read-Only Variable with the const Keyword

Link to the challenge:

From the instructions:

“Also, rename variables declared with const to conform to common practices.”

The instructions only wanted you to rename the variables, not the content in the variable. If you change “FREECODECAMP” back to what it originally was (freeCodeCamp) then you will pass.


You have changed freeCodeCamp to FREECODECAMP. That is out of the test’s expectation and is causing a problem. Rest all is good.

1 Like

Thank you for taking the time to respond!

Thank you for your response!

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