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

Tell us what’s happening:
Describe your issue in detail here.

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 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

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

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

The string assigned to FCC should not be changed.

Initial string freeCodeCamp your string FreeCodeCamp

1 Like

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