Error is coming

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

Your code so far


const FCC = "freeCodeCamp"; // Change this line
const fact = "is cool!"; // Change this line
fact = "is awesome!";
console.log(const, 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.110 Safari/537.36

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

Link to the challenge:

Hi @madstercoder !

You have a few issues.

No.1:
The directions say to use let when you want the variable to change
Right now you are using const here

But that is incorrect.

No.2:
This is incorrect

You want to log to the console the two variables of FCC and fact.
Not const and fact.

If you do everything correctly, you should see this result in the console

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