Run this code and tests failed

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

Your code so far

let fact = "freeCodeCamp".toUpperCase(); // Change this line
const fCC = fact; // Change this line
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/96.0.4664.110 Safari/537.36

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

Link to the challenge:

Hello! Welcome to the community :partying_face:!

You should reset the lesson and change the variable names and not their contents. Keep in mind what the lesson explains and what the task requires:

A common practice when naming constants is to use all uppercase letters, with words separated by an underscore.

And the task:

Also, rename variables declared with const to conform to common practices, meaning constants should be in all caps.

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