Video by freeCodeCamp.org · streamed from YouTube. All rights remain with the creator.
Lesson 2: Beyond Generic: Polished Web Apps with AI
About this lesson
Interfaces produced by AI tools often share a recognisable look: generic, unfinished and much like every other generated page. This lesson sets out a repeatable five-step process for getting front ends that are polished enough for real use. The first step is gathering context through discovery sessions driven by a specification, in which the AI asks you about the design, the awkward edge cases and the technology choices before anything is built. The second step starts from interfaces that are already known to work, studying the layouts of established platforms and drawing on open-source interface libraries instead of beginning with an empty wireframe. In the third step the specification and that proven structure are combined into a first working version of the product. The fourth step is restyling: using Git worktrees, you generate several different visual directions on separate branches at once and compare them side by side before choosing. The final step adds motion, turning generated video into animations that play as the visitor scrolls, and then deploys the finished site to a hosting service. The process matters more than any single tool, and it can be followed with whichever AI coding assistant you prefer. Some familiarity with web development and with Git will help you keep up. When you finish, read Chapter 2 of the course book, which explains the design systems behind a polished result, with a worked type scale, a spacing scale and contrast ratios calculated by hand.