.problem with code

What’s wrong with this code ?

   **Your code so far**

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 (Linux; Android 11; CPH1911) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.74 Mobile Safari/537.36

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

Link to the challenge:

You have a double space between const and FCC as well as let and fact.
This is an instance where white space is not ignored. you can only have single spacing.
Remove the extra spaces and the code will pass the tests

1 Like

Thanks man it worked :blush::blush:

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