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

Tell us what’s happening:
Describe your issue in detail here. I can’t run the tests when I click the button it does nothing so I can’t move on to the next lesson or check my code this might be a glitch in your code. Your website has been very helpful, thank you.

Aiden

Your code so far

const FCC = "freeCodeCamp"; // Change this line
let fact = "is cool!"; // Change this line
let fact = "is awesome!";
console.log(FCC, fact var); // Change this line

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

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

Link to the challenge:

This is a syntax error. You cannot declare the same variable twice with let in the same scope.

This is another syntax error

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