# Can Furge AI write the code for me, and fix it?

Yes. Ask in the chat for something written as code, like "a tip calculator in HTML, CSS and JavaScript", and Furge AI writes it as one page in a Code part, with its CSS and JavaScript inside it (a Code part has no files beside it, so it never links to a separate style.css or script.js). Then it tries it like a visitor would, sealed off: it runs the code, presses its buttons and reads what each did, fixes errors and anything that didn't work, and only then says it's done. To change a Code part you already have, select it and use its own Furge AI box (Ask Furge AI to change this code, or Fix what's broken, Make it fit phones and Test every button): it reads the code and changes only what you ask. Every change can be undone, and Furge checks each one: a key or password written into the code is taken back out. The code still runs sealed off from Furge, your account and the rest of the page. A website asked for in HTML and CSS is still designed as a site you can change on the canvas.

1. Ask in the chat, for example: Write a tip calculator in HTML, CSS and JavaScript.
2. Furge AI writes it in a Code part, tries it and fixes what fails.
3. To change it later, select the part and ask in its Furge AI box; Undo takes any change back.

Also asked as: write the code for me; ai write my code; furge ai write javascript; make an app in html css and javascript; build it in code; code it for me; fix my code; my code has an error; debug my code; my button doesn't work in my code; furge code editor; index.html style.css script.js; can furge ai code; ai coding; change my code part; test my code; check my javascript; make a calculator in javascript

Page: https://furge.app/docs/ai-code

## Related

- [Is there a handover document for my project (for a developer, a designer or a client)?](https://furge.app/docs/project-md.md): Yes: PROJECT.md.
- [Can I change my site's code on GitHub (or in VS Code) and bring it back into Furge?](https://furge.app/docs/source-control.md): Yes.
- [How do I preview a page and see its console in Developer mode?](https://furge.app/docs/dev-preview.md): In Developer → Code, press Preview in the bar over the editor: it shows the page as it's published, beside your code.
- [Can I add my own JavaScript to my website?](https://furge.app/docs/site-script.md): Yes, on a website: Developer → Code → scripts/site.js is your site's own JavaScript.

From Furge's docs: Designing in the studio. Every answer, with a link: https://furge.app/llms.txt. All of them in one file: https://furge.app/llms-full.txt.
