Tell us what’s happening:
Describe your issue in detail here.
Your code so far
let fCC = "freeCodeCamp";
const FCC="freeCodeCamp " // Change this line
let fact = "is cool!"; // Change this line
fact = "is awesome!";
console.log(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/110.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Declare a Read-Only Variable with the const Keyword
var fCC = "freeCodeCamp"; // Change this line
var fact = "is cool!"; // Change this line
fact = "is awesome!";
console.log(fCC, fact); // Change this line
i just feld to acomplish the task i need help, dont undestand at all.
Ok, but you haven’t told me anything about what you need help with.
The instructions say
Change the code so that all variables are declared using let or const. Use let when you want the variable to change, and const when you want the variable to remain constant. Also, rename variables declared with const to conform to common practices. Do not change the strings assigned to the variables.
Do you know what a variable is?
Did you see the difference in spelling between var, let, and const?
Do you know what capitalization is?
I don’t know what you don’t know. I can’t write the answer for you, so I need you to tell me what you don’t know!