Blog

August 20, 2023

Update 24. 8:24am. I took a detour from developing this website to take on a mini project...a web-based calculator. It was not as straightforward as I had originally thought though. The prompts in generating the Javascript are faulty resulting to a non-functioning calculator.

I had to go beyond generative AI to help with the code. In the process, I stumbled upon this article.

While I surmise that generative AI has accelerated my web development knowledge by leap and bounds since starting this project, human intervention for learning remains important.

Prompt

Create a calculator with numeric keypads and basic arithmetic functions that I can embed on my website using HTML, CSS and Javascript. Arrange the keypads in a 4 by 4 format with the display for the inputs and result at the top like a regular calculator. Link the HTML to both the CSS and Javascript and follow the formatting of builtwithbard.com