I need help on this challenge please

Tell us what’s happening:

I did this challenge and after running the code the result came out like this ,“You should clear the console after your log.”

Your code so far


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

console.clear();
// Use console.clear() on the next line to clear the browser console.

console.log(output);


Your browser information:

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

Challenge: Understanding the Differences between the freeCodeCamp and Browser Console

Link to the challenge:

It looks like you are clearing before logging

1 Like

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