Debugging - Understanding the Differences between the freeCodeCamp and Browser Console

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

Your code so far
I’m finding it hard to pass through this challenge, and I’ve tried all possible means, I don’t know where i am getting it wrong

let output = "Get this to show once in the freeCodeCamp console and not at all in the browser console";
console.log(output);
console.clear(output);




Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

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

Link to the challenge:

console.clear() does not take an argument. It just clears the console so supplying it with data wouldn’t really make much sense.

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