I'm in need of a code compilation API to publish sample codes on the 4Geeks blog with a "run" button that shows output. I told ChatGPT to write the code for me, it took ~2 hrs. Here are screenshots of my whole conversation. Here is the working code: