On this for way to long:let, comp?

Hi. I’m stuck. I don’t know about everyone else, but I’m spending way to much time on each question. Please help.

Your code so far


var fCC = "freeCodeCamp";  const FCC="freeCodeCamp";
var fact = "is cool!";  letfact="is cool!";
fact = "is awesome!";
console.log(fCC, fact);  
print(FCC,fact);

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 15_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) GSA/211.1.447770393 Mobile/15E148 Safari/604.1

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

Link to the challenge:

You don’t want to add extra statements, you just want to change the statements that are there. You will be replacing var with either const or let and then you will need to update one of the variable names to conform to best practices when using const.

I would click the Reset All Code button to get a fresh start and make sure to only fix what is there. Do not add anything else.

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