Each change is applied to the file as it stands, so the app keeps everything it already had.
Your app appears here and runs immediately.
What to expect
It is good at self-contained things: calculators, forms, dashboards from data you paste, timers, quizzes, landing pages, small games, visualisations. It is not good at anything needing a server, a database, logins or payments — a single file cannot hold those, and any AI that claims otherwise is writing code that will not run. If a build comes out wrong, say what is wrong in the change box rather than starting again; it repairs faster than it rewrites.