Declare a Read-Only Variable with the "const" Keyword

Tell us what’s happening:
FCC keeps failing me :-/

Describe your issue in detail here.
So everytime I try passing this test, it says fail: FCC should be a constant variable declared with const .

I can’t move on without a pass, can anyone please help me…

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/101.0.4951.54 Safari/537.36

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

Link to the challenge:

It looks like you’ve changed some of the literal string values. You might want to reset your code.

1 Like

Damm, that’s all it was… it wanted to read “freeCodeCamp”, not “FreeCodeCamp”, nice.
Thank you kindly, Sir.

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