Learning FCC's interface

Hey all

Very early in my journey here, just started tackling the Javascript stuff. I somehow feel as though I’ve missed something, especially so after eventually figuring out the card counting.

When I came across

// Add/remove calls to test your function.

I realised I have no idea how to actually test what I’m writing - I ended up trying to use alert, which ended up being an absolute mess.

Is there a resource I have missed in my sleep deprived study sessions? I’d really like to get a better idea of the interface and tools available on the online IDE.

Thanks all!

You can use the console (introduced in Debugging: Use the JavaScript Console). You may find that testing your code in a tool like repl.it which has a built in console emulator to be easier to fiddle around with than your browser’s actual console.

1 Like