Debugging - Understanding the Differences between the freeCodeCamp and Browser Console

Tell us what’s happening:
Describe your issue in detail here.

Hello I’m trying to run

console.log(output);

in the browser console and it seems like I’m getting the following error

VM5245:1 Uncaught ReferenceError: output is not defined
    at <anonymous>:1:13

Your code so far

let output = "Get this to show once in the freeCodeCamp console and not at all in the browser console";

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Debugging - Understanding the Differences between the freeCodeCamp and Browser Console

Link to the challenge:

your output variable might be out of scope of the console.log

I tried copy and pasting from the fcc ide and was successfully running the console.log in the browser console but the tests have no idea I did it

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