Here is a simple calculator using labs.perplexity.ai, the open source powered playground from Perplexity. This calculator was created from a single simple prompt “can you provide simple web based code for a calculator” and then just copying the output into three separate text files and placing them in the same folder. This code creation was powered by the llama 3.1 large 128k model.