ID:1737361
 
Yesterday I was looking for a command-line calculator. I thought to get Python because that's something it's rather good at. Then while I was looking online for that, I thought to hit F12 to open Chrome's console.

I found out that Chrome's console works as a command-line calculator, and is pretty nifty with JS. In fact, that's exactly what it is: a JavaScript interpreter.

Suddenly I felt like a whole new world opened up to me. I decided to load an about:blank page and tinker about with some of the stuff JS had to offer. I started writing in some HTML, and soon enough I was looking online for JS references (W3Schools has some good stuff).

I managed to get something small working in HTML5. You can see it here. The input on the bottom works like a chat input, and the output on the right will crop so many lines from itself if it gets too long, so I thought that was pretty neat.