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

Tell us what’s happening:
I’ve written my code like below lines. It meets all the condition mention there. Can you please help me with this! I really appriciate.

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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

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

Link to the challenge:

It looks like you’ve accidentally changed the string value of the FCC variable. The final output should be

freeCodeCamp is awesome!

but your solution outputs

freecodecamp is awesome!

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