Prompts used to create CollegeROI.app

✨ - marks prompts that were suggested by Gemini

Initial Setup

Did not save the prompts for the initial setup but it was a combination of searching on Google for how to build a React based webapp and which frameworks/libraries should be used. To be clear, I have never written code in React, have never use NPM, but I can read Javascript and am familiar with using a terminal to setup a new project. So mixed bag in terms of ease of use, but it was not really difficult to setup, and gemini was great about providing code that could be run in a terminal, that would run with 1-click. Sample prompt that I likely used is below:

Building the home page

Again, like the initial setup for the project, I missed saving most of the intial prompts, so what you see here is only a partial log of the prompts used to build the homepage.

Building the Calculator page

This is a mostly complete record of all the prompts used to build the calculator page, which is where the main body of the webapp lives. This section shows the prompts addressing the overall design and layout of the page.

Building the “Your Data” column

This was the first column/section of the website that was built. As you will see as you read through the prompts - there was some iteration through a couple of layouts and designs. I also changed some of the HTML text and labels manually that sometimes broke tests that I had to fix.

Building the “Estimates and Summaries” column

A lot of this section’s layout and code was written automatically when Gemini wrote code and created elements for the first “Your Data” column.

Building the help section

This column was initially the right-most column and as that design didn’t work, it was moved to the hamburger menu using this prompt link

Building the Compare section

The compare section was intially in the top navigation bar on the calculator page, before moving it to the right column using this prompt

Writing tests

This was in some ways the most unexpected part of this experiment, I did not expect Gemini to write tests - but once it started writing tests - I was equally surprised by how many mistakes it seemed to make with tests and how simplistic the tests were.