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

Tell us what’s happening:
Describe your issue in detail here.
im having trouble understanding what is meant by change console.log to print the fcc and fact variables. also it keeps tellling me fcc is not defined.

Your code so far
const FCC = “freecodecamp”;
let fact = “is cool!”
fact = “is awesome”
const console.log(fcc, fact);

what am i missing?

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/ Safari/537.36 Edg/105.0.1343.33

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

Link to the challenge:

Should you spell it fCC or FCC?

thanks for the reply. that seemed to work but now im being told im missing a semi colon here console.log (fCC, act); and even when i capotalized aCT it still told me act is not defined. ill keep trying but that last suggestion of fCC worked

It is better to just post the updated code and the new errors for further help if needed.

okay so ive got
const fCC = “freecodecamp”;
let fact = "is cool!';
console.log (fCC, aCT);

ive tried ACT, aCT, Act…still says act not defined or missing semicolon

haha i got it this time. all i need to do was capitalized the second fcc in line 4

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