Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
This commit is contained in:
@ -14,7 +14,9 @@ There are many methods to use with `console` to output messages. `log`, `warn`,
|
||||
|
||||
# --instructions--
|
||||
|
||||
First, open your browser console so you can see the logs. To do that, you can right-click the freeCodeCamp navigation bar at the top and click `inspect` on most browsers. Then find the `console` tab in the window that opens. After that, use `console.log` to log the `output` variable. View the two consoles to see the log. Finally, use `console.clear` after your log to clear the browser console. View the difference in the two consoles.
|
||||
First, open your browser console so you can see the logs. To do that, you can right-click the freeCodeCamp navigation bar at the top and click `inspect` on most browsers. Then find the `console` tab in the window that opens.
|
||||
|
||||
After that, use `console.log` to log the `output` variable. View the two consoles to see the log. Finally, use `console.clear` after your log to clear the browser console. View the difference in the two consoles.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
Reference in New Issue
Block a user