Basic JavaScript - Declare a Read-Only Variable with the const Keyword

Tell us what’s happening:
Describe your issue in detail here.
I don’t understand what is it that I have to do here. I am new toJavaScript and I need help
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/115.0.0.0 Safari/537.36

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

Link to the challenge:

You should change fCC to all uppercase in the name of the variable const. The example is given in the challenge:

const FAV_PET = "Cats";

Change it in the console.log() method too.

P.S. The instruction says: " Note: It is common for developers to use uppercase variable identifiers for immutable values…"

The immutable values are assigned to the ‘const’ type of variables.

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