so, I’ve been trying to complete this lesson and I’ve followed the instructions given in the solution. But the lesson can’t complete.
//I input the code below in the browser console let output = "Get this to show once in the freeCodeCamp console and not at all in the browser console"; //then, I log the output variable to the freeCodeCamp console console.log(output); // -> at this point, the freeCodeCamp console //shows the string once and displays it once in the browser console //as well, so I removed the string in the browser console by clearing the console. console.clear(); // -> after this, the FCC console displays the string //exactly once on the live console output and there is no //string visible in the browser console. //then, I press the "Run the tests" button but it failed to //complete the lesson.
Challenge: Understanding the Differences between the freeCodeCamp and Browser Console
Link to the challenge: