How should i use browser console and freecodecamp console at the same time?

Tell us what’s happening:
i want to use the browser console at the same time i am seeing freecodecamps console; is there a way to see both consoles without making test.js on my computer and copy pasting the code both in freecodecamp lesson page and other in the file test.js and run nodejs test.js on my terminal?

Your code so far


// Open your browser console.
let output = "Get this to log once in the freeCodeCamp console and twice in the browser console";
// Use console.log() to print the output variable.
console.log(output);

// Run the tests to see the difference between the two consoles.

// Now, add console.clear() before your console.log() to clear the browser console, and pass the tests.

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36.

Challenge: Understanding the Differences between the freeCodeCamp and Browser Console

Link to the challenge:

Sure. F12 on your keyboard or right-click and “View Page Source” will open your browser’s developer tools. Then go to the browser console.

1 Like

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