Ask coding questions

← Back to all posts
Console.log doesn't show anything in console
EllaFan (2)

When I try to use console.log, nothing shows up in my console. This issue is restricted to this replit. My console will not work even if I reload the replit, but it does work if I copy and paste the block of code into another replit. Is this an issue with other parts of the code, or is it an issue with the file in general?

See JS and buttons.html

Coder100 (18089)

Because of a replit bug, if you use console.log on any page other than index.html it will not show.

Dunce (65)

If what Coder100 says is true, you can just open up the console in your browser's devtools instead.