I stuck at this const variable

Tell us what’s happening:

FCC should be a constant variable declared with const

Your code so far


// Only change code below this line
const FCC = "(freeCodeCamp)";
let fact = "is_awesome!";
// Only change code above this line

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; 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:

Don’t change the strings, only the variable names - maybe you need to reset the challenge maybe

1 Like