What am i doing wrong? I believe I've done everything write but i get this error, " FCC should be a constant variable declared with const." but I've done that

Tell us what’s happening:
Describe your issue in detail here.

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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

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

Link to the challenge:

Never mind I figured it out! I changed the string value…

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


I don’t think this should have been changed.

1 Like

Try changing the " FREECODECAMP" to lower case. Remember JavaScript is case sensitive.

1 Like

The same thing happens to me. I have done everything correctly but I keep getting the same error as you did.

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

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