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

i need help with code

const FCC = “freeCodeCamp”; // Change this line

let fact = “is cool!”; // Change this line
fact = “is awesome!”;
print.the(FCC, fact); // Change this line

const FCC = "freeCodeCamp"; // Change this line
let fact = "is cool!"; // Change this line
fact = "is awesome!";
print.the(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/119.0.0.0 Safari/537.36

Challenge Information:

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

Hello @yomillionaire !

We are asked to change the code to use let and const

Why did you change the console.log ?

Suggestion
Reset the step and do not change only change the necessary code. Do not change the console.log text. Everything else looks good.

Happy coding!

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