Any body have this solution please

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
let facT = "is awesome!";
console.log(fCC, fact,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/96.0.4664.45 Safari/537.36 OPR/82.0.4227.23

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

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

Here is the original code

var fCC = "freeCodeCamp"; // Change this line
var fact = "is cool!"; // Change this line
fact = "is awesome!";
console.log(fCC, fact); // Change this line

You have made a bunch of changes you weren’t supposed to. You need to:

  1. Use let or const in place of var

  2. Change the capitalization of fCC

1 Like
  1. Change the capitalization of fCC

Just to be clear, only change the name of the variable. Some people misread this and think they have to change the contents of the variable, the string literal.

1 Like