FCC should be a constant variable declared with const

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

FCC should be a constant variable declared with const
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/99.0.4844.51 Safari/537.36 Edg/99.0.1150.39

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

Link to the challenge:

This challenge does not want you to change the contents of the variable, only the name of the variable.

1 Like

Hi, I have tried the very code as above both as lowercase and uppercase and yet i still get told that my variable needs const.

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

what am i doing wrong here?
I have my Chrome browser ad blockers disabled.

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.