Following on from my first try at vibe coding, I decided to try it again and create a share calc tool, handy for when looking at investments, share prices etc.
I used Bolt again, as my first attempt was such a success.
This time, I planned out what I actually wanted using a whiteboard book, as you can see in the image below. This way I was able to work out the inputs and outputs and what calculations to perform – and how.

My first prompt was the below:
Lets build a javascript app called Sharecalc that has tools for calculating various share price related things. Input 1 is ‘Share Price’ and is in pence. Input 2 is ‘Total Dividend’ and is in pence. Output 1 is named ‘Total Dividend %age’ and is calculated by (‘Total Dividend’ divided by ‘Share Price’) x100 and is a percentage. Input 3 is ’52 Wk Low’ and is in pence. Input 4 is ’52 Wk High’ and is in pence. Output 2 is named ’52 Wk Low % Drop’ and is calculated by (‘Share Price’ – ’52 Wk Low’) and the result of that is divided by ‘Share Price’ and x100 to give a percentage. Output 3 is named ’52 Wk High % Gain’ and is calculated by (’52 Wk High’ – ‘Share Price’) and the result of that is divided by ‘Share Price’ and x100 to give a percentage.
This was a very comprehensive prompt to enable Bolt to create what I was after.
I let it produce it and within a few minutes it was ready – and then did a bit of testing on it and it was working exactly how I specified.
Later, I then asked it, in another prompt, to add the company name field to the top. The prompt for this was:
Can we add a new field at the top which is where I can input the company name that the share price is for? This will be a text field of say up to 60 characters.
Another update was to add price projections at +5%, +10% and +20%.
The prompt for this was:
Can we add 3 more output fields which are named ‘Share Price +5%’ and that is calculated by Share Price +5% and ‘Share Price +10%’ and that is calculated by Share Price +10% and ‘Share Price +20%’ and that is calculated by Share Price +20%
I then published is and it’s available at https://sharecalc-share-pric-s0nn.bolt.host/ (please feel free to try it out)
I plan to amend it/add to it as further requirements come along.
All in all, fairly amazing to have created this, from idea to whiteboard information to actually published Javascript tool, all in about 30 minutes!
About my testing services: iOS App Testing / Android App Testing / Website Testing / AI Chatbot Testing
Your next step – Contact Me about Software Testing or any of the other services I provide.
