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

Tell us what’s happening:
im not sure what I’m doing wrong here. in the course it says its not right, does anybody know the mistake here and why im not able to continue? Im a newbie so please don’t judge!

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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15

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

Link to the challenge:

your code runs fine and it passes the test, maybe try reloading

1 Like

Welcome to our community!

Try the following:

  1. Reset step.
  2. Refresh page (F5).
  3. Some browser extensions, such as ad-blockers and script-blockers can interfere with the tests. If you face issues, we recommend disabling extensions that modify or block the content of pages while taking the course.
  4. Change the browser.

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