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

Tell us what’s happening:

Describe your issue in detail here.
1.The string assigned to FCC should not be changed?
2.console.logshould be changed to print theFCCandfact` variables?

Your code so far

const FCC = "FreeCodeCamp"; 
let fact = "some value";
fact = "is awesome!";
print("FCC", "FCC");  
print("fact", "fact");   

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0

Challenge Information:

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

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

Welcome to the forum @kobe20

You correctly changed the first variable name, however you were not supposed to change the value of the string.

The instructions for the last line console.log did not ask you to change it to print, which is not a JavaScript method. Also, you changed the arguments into strings by nesting them in quotes. Just change the first variable name to match the casing.

Please reset the step to restore the original code Then only modify the code you are asked to. The tests make specific tests in the code. Altering any part of the code you are not asked to change will fail the tests.

Happy coding