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

Tell us what’s happening:
Describe your issue in detail here.
I’m stuck don’t know what to do? any help

Your code so far

const FCC = "freeCodeCamp"; // Change this line
 let = "is cool!"; // Change this line
const = "is awesome!";
const .log(FCC, fact); // Change this line

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15

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

Link to the challenge:

You declare variables using var, let or const. Once they are declared (e.g. let fact = “is cool!”), you then reassign them in future by using the variable name alone (e.g. fact = “is awesome!”).
If you want to log something to the console, you use the command console.log(), with whatever you want to log within the parentheses.

They all good, but still something wrong with this ones: console.log should be changed to print the FCC and fact variables.

What is this supposed to be doing?
(const declares a constant variable…)

It does not let me move forward and gave me this error

Reset the code by clicking the reset button.
Then reread the step.
At this time the code you are writing is invalid.
The best thing to do is to reset and reread.
If you have a question about the explanation, let us know.

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