Websites, apps & code / Coding & debugging
Get my code reviewed
You wrote the code, or AI did, and you want it checked before use.
Fill in your details
Leave blank to use the example. Names are remembered for other prompts too (stored only on your device).
Prompt
Please review the code below. Purpose: A contact form for customers, saving into Google Sheets Review focus: List cases that fail and how to reproduce them. Code: (paste your code, with passwords and keys replaced by fakes) Please: 1. First say what you understand it to do; I will correct you if wrong. 2. List the issues, each as "where, why it is a problem, how to fix", ordered by severity. 3. Do not rewrite everything at once: give the list, let me choose, then give the revised code. 4. If the code contains passwords, API keys or customer data, warn me loudly first and show me how to move them to environment variables. 5. Where you cannot tell or need more, say so instead of guessing.
Paste it into ChatGPT, Gemini, Claude or Meta AI.
Test result
What we noticed
The sample still had the code placeholder, so the AI invented no issues. It asked for the real code and listed 8 typical contact form failure types such as blank fields, formula injection and double submit. None were checked against real code.
See what the AI actually wrote
Happy to review it, but the code slot in your message still reads "(paste your code, with passwords and keys replaced by fakes)" and no code came through. With no code, I will not invent problems for you.
Before you paste:
- Replace passwords, API keys and customer data with [FAKE] values.
- If it is Google Apps Script, paste the page (HTML) and the server side together; with only half I will say "cannot tell".
Once I have it I will:
- Say what I understand it to do, for example "a customer fills name, phone and message on a web page, and on submit the code writes one row to Google Sheets". Correct me if I am wrong.
- List issues by severity, each as "where / why it is a problem / how to fix". For a contact form saving to Google Sheets I will look specifically for these failing cases and give a way to reproduce each:
- Empty fields or only spaces being saved as a blank row.
- Very long text, special characters, line breaks or emoji breaking it.
- A badly formatted phone (letters, minus signs) going unchecked.
- Someone typing text that starts with
=and the sheet running it as a formula (data injection). - Pressing submit twice saving two rows.
- Two people submitting at the same moment writing to the same row.
- What the user sees when the network drops or the sheet is deleted.
- Whether the sheet's sharing permissions are too wide.
- Not rewriting everything at once: I give the list first, you choose which to fix, then I give the revised code.
- If I find a password, API key or customer data in the code: I will warn you loudly first, show you how to move it to an environment variable (in Apps Script that is Project Settings > Script Properties) and suggest you treat that key as leaked and replace it.
- For anything I cannot tell, I will say so, not guess.
Go ahead and paste the code.
AI tools that suit this
- Claude Suggested tool Free plan
Strong at long documents, editing and code
- ChatGPT Suggested tool Free plan
The most widely used AI chat, for writing, questions and images
- Cursor Suggested tool Free plan
AI code editor
- Gemini Suggested tool Free plan
Google's AI; generates and edits images, works with Gmail and Docs
Recommendations only, not sponsored. Check each site for what the free plan includes.
This site is made by FullMark Tech
Want your own website, or your shop spreadsheets automated? FullMark Tech builds business websites and custom Excel tools.