I have made the necessary changes but doesn't look like i did it well. Any suggestion please?

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

Your code so far


// Only change code below this line
const FCC = "freeCodeCamp";
let fact = "is cool!";
// Only change code above this line
let fact = "is awesome!";
print (FCC, fact);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

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

Link to the challenge:

What exactly do you want help with?

This is not a valid Javascript command.

// Only change code below this line

const FCC = “freeCodeCamp”;

let fact = “is cool!”;

// Only change code above this line

let fact = “is awesome!”;

print (FCC, fact);

Please actually talk to me instead of just copy-pasting code at me.

Did you fix this?

so i tried to use -“console. log” that didn’t work. so am wondering what i need to fix or what do you think that should be?

You need to use console.log. Once you fix that, you need to remove the redeclaration with let. You only declare variables once.

print is not valid javascipt , we use print in python in javascipt we use console.log( );
and you are redeclaring variable using let which will give you error

example :

let txt = 'hello world';
console.log(txt);   // output in console hello world;

if i declare variable again with same name this is redeclaration which will given me error in javascript because we can not redeclare those variable we have decalred with let and const

example :

let myVariable = 'hello @Magua2 ';
let myVariable = 'hey @Magua2 ' ;
console.log(myVariable)  // this will give me error in console 
                                         //saying
                          //  you can't redclare variable 
                           //declared with let

if you don’t understand whole thing then try out this

https://www.javascripttutorial.net/es6/javascript-let/