Declare a Read-Only Variable with the const Keyword error 2021

Tell us what’s happening:
Error message when I try to submit code.

// running tests You should change
fCC to all uppercase.

FCC should be a constant variable declared with const

console.log should be changed to print the

FCC and fact variables. // tests completed // console output

Your code so far

// Only change code below this line
const FCC = "freeCodeCamp";
let fact = "is cool!";
// Only change code above this line

fact = "is awesome!";
console.log(fCC, fact);

I believe I’ve done everything correct so I don’t understand why its incorrect

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36

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

Link to the challenge:

You also need to change this line. There is a fix submitted to change the comments in this challenge.

1 Like