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

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

Your code so far

// only Change this line
const FCC = "freeCodeCamp"; 
let  fact = "is cool";  
// only Change code above this 
fact = "is cool!";
console.log(fCC, fact); // Change this line

Your browser information:
HELLO HOUSE IN DECLARING A READ ONLY VARIABLE I WANT TO KNOW WHAT BROUGHT FACT
IN THAT PLACE AND “IS COOL”
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0

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

Link to the challenge:

HOW TO SOLVE THIS CODE

// only Change this line
const FCC = "freeCodeCamp"; 
let  fact = "is cool";  
// only Change code above this 
fact = "is cool!";
console.log(fCC, fact); // Change this line

As far as I remember, variables in JS are case sensitive. Am I right?

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