Set up a frontend project
“Set up a new Next.js project with TypeScript, Tailwind CSS, and App Router. Create a clean homepage with a [header/hero/features] layout.”
Free AI prompt · The Code Book
A ready-to-use prompt from the chapter Frontend. Paste it into Claude, ChatGPT, Lovable, Bolt or any AI coding tool.
“Make my website fully responsive so it looks great on phones, tablets, and desktops. Use Tailwind CSS breakpoints and make sure the navigation works on mobile with a hamburger menu.”
“Set up a new Next.js project with TypeScript, Tailwind CSS, and App Router. Create a clean homepage with a [header/hero/features] layout.”
“Convert my single-page app into multiple pages with proper navigation. Add routes for [home, about, dashboard, settings].”
“Set up a backend for my app using Supabase. I need tables for [users, posts, comments]. Include row-level security policies so users can only edit their own data.”
“Add a backend endpoint to my app that [creates/reads/updates/deletes] [resource] from my database. Handle errors gracefully and return a friendly message if something goes wrong.”
“Connect my frontend to my Supabase backend. Fetch [posts/products/users] from the database and display them on the [homepage/dashboard]. Add loading and error states.”
“Create a new page at /pricing that shows three pricing tiers in cards. Add it to the navigation bar too.”