Single logo
  • Courses
  • Blog
  • About
Join on SkoolJoin on Skool

In this topic

React
  • One Request, Two Answers: the Same Post as an HTML Page and as JSON
  • A Blog Design from a Prompt: Downloading Figma Make Code and Reading App.tsx and BlogCard.tsx
  • How a Web Page Works: HTML Tags, Elements and Attributes
  • Semantic HTML: header, nav, main, aside and footer as Page Landmarks
  • HTML Forms: Labels, Names, Input Types and Where the Data Goes (GET vs POST)
  • CSS Basics: Selectors, Which Rule Wins, and the Box Model
  • CSS Flexbox vs Grid: A Nav Bar, a Card Row and a Dashboard
  • Responsive CSS: Viewport, Mobile-First Media Queries, clamp() and Dark Mode with Tokens
  • JavaScript for People Who Already Code: Syntax, Modules and Five Surprises
  • JavaScript Arrays the Functional Way: map, filter, reduce, find, sort and Object.entries
  • Async JavaScript: Promises, async/await, fetch and Promise.all
  • JavaScript in the Page: the DOM, querySelector and Events
  • npm, package.json and Vite: What npm install Fetches and How Vite Serves and Builds Your Page
  • TypeScript Essentials: Types Checked, Then Erased (Interfaces, Unions, Generics)
  • Why React, JSX and Components: The Page as a Function of Data
  • React Props and Composition: Data Down, Calls Up, Children in the Slot
  • Routing With React Router: One Page, Many Addresses
  • React Component Tests With Vitest and Testing Library: Test What the User Sees
  • End-to-End Tests for a React App With Playwright: A Full Dress Rehearsal
  • Why AI-Built Websites All Look the Same, and Four Levels That Fix It
  • Visual Hierarchy, Spacing and the 8-Point Grid: Tell the Eye What to Read First
  • Colour, Contrast and Dark Palettes: 60-30-10, Semantic Tokens and Ratios You Can Compute
  • Typography That Sells: Type Scale, Line Length and Free Font Pairings
  • The UI Element Catalogue: Buttons to Toasts, Their Jobs, States and shadcn/ui Names
  • Design Tokens: Primitive and Semantic Tokens, from Figma to CSS to Tailwind
  • Tailwind CSS 4 in React: Utility Classes, Responsive Prefixes, Hover and Dark Mode
  • shadcn/ui in React: Components You Own, Edit and Commit
  • Design Tokens to a Tailwind Theme: Light and Dark Mode with @theme inline
  • Motion in React: Entrance, Hover, Exit and Layout Animations
  • A React Dashboard: Stat Cards, a Recharts Line Chart and a Sortable Table
  • Accessibility in Practice: Dialogs, Menus and the Keyboard in React
  • Reference-Driven Design: Extract a DESIGN.md From a Site You Admire and Build From It
  • Components, Variants and Variables: One Design System in Figma and in CSS
  • Figma MCP Server: Build a React Component From a Frame, Then Write It Back
  • Claude Design: From a Brief to a Clickable Prototype, Then Hand It Off to Claude Code
  • Critiquing AI-Generated UI: Six Checks for Every Screen
  • The AI Design Landscape: Prompt to UI, Prompt to App, and Design to Code
  • Your Brand Rules Folder: One Folder Every AI-Built Page Follows
  • The Best-Practice UI Prompt: Plain Sentences That Beat the Average AI Page
  • UI Ideas From Figma Make, Google Stitch and ChatGPT: One Prompt, Three Designs
  • Google Stitch From a Sketch or Screenshot: Show the Layout, Say What to Keep
  • Stitch to Figma to Code: Turn a Stitch Screen Into Code That Uses Your Tokens
  • Figma Make: Prompt to Prototype With a Four-Part Prompt
  • Upgrade a Dated UI From One Screenshot (or a Reference Image)
  • States and Feedback: Make Every Click Get an Answer
  • A Design-Loop Skill: Claude Screenshots, Scores and Fixes Its Own UI
  • Copy Without the AI Tells: A Copy Pass on a Landing Page
  • React State, Events, Lists and Conditional Rendering: Follow One Click
  • React useEffect: When It Runs, What Cleanup Is For, and When You Don't Need One
  • Lifting State Up, Refs and React DevTools: Put State Where It Is Needed
  • Forms and Actions in React 19: Controlled Inputs, Form Actions, useActionState and useFormStatus
  • React Context and Custom Hooks: Share One Value, Reuse the Logic
  • Server State With TanStack Query: One Key, One Request, One Cache
  • Mutations and Optimistic Updates in TanStack Query: Change Data, Then Tell the Cache
  • Generate TypeScript Types, Query Hooks and Zod From an OpenAPI Spec With Orval
  • A Mock Backend in the Browser With Mock Service Worker, Generated From the Spec
  • A React Client for a FastAPI API: The CORS Wall, CORSMiddleware and the Vite Proxy
  • Forms With React Hook Form and Zod: The API's Rules in the Browser, the Server's Errors Under the Field
  • JWT Auth in a React Client With a FastAPI Backend: Log In, Carry the Token, Let the Server Decide
  1. Blog
  2. /
  3. React
  4. /
  5. Fundamentals

Upgrade a Dated UI From One Screenshot (or a Reference Image)

A booking page that works but looks years old gets a modern look from one screenshot and one plain request to the agent. Then an old blog takes on the feel of a reference image while keeping every post and link. The picture shows what to change; your words say what must stay.

Chaand Sheikh

·27 November 2026·Updated 28 November 2026Fundamentals

What you will learn

  • Say in your own words why a page looks dated
  • Upgrade a page with one screenshot and one plain request that says what to keep
  • Restyle a page to match a reference image while keeping every post and link
  • Check the upgrade by eye before you accept it

Before you start

  • Your Brand Rules Folder
  • Using an AI agent in your editor (PyCharm, IntelliJ or VS Code)

Here's a hotel booking page that works fine, but looks like it was built years ago. In this lesson we upgrade it with one screenshot and a plain request to the agent in PyCharm. Then we redo an old blog from a picture of the look we want.

Why this page looks dated

The page is a "New Booking" form with six fields: guest name, email, room type, check-in, check-out and guests, then Save booking and Cancel. Before asking for anything, say what bothers you in your own words:

  • Borders everywhere. Every label sits in its own little box.
  • The text is tiny, so you lean in to read it.
  • The buttons are grey and flat, so you can't tell which one matters.

The fields are fine, though. Nothing is missing. Only the look is old, and that's what we'll tell the agent.

Way 1: one screenshot, one plain request

In PyCharm the page is open in the preview and the AI Chat panel is set to the agent. IntelliJ and VS Code work the same way. Take one screenshot of the page and drop it into the chat. Then one plain request:

This booking page looks dated. Make it feel modern and clean, follow the brand folder, and keep every field and the same flow.

The agent looks at the screenshot, reads the brand rules, and edits the stylesheet. It replies: "Done. Same fields, same order, new look." The preview updates with a calmer header, bigger labels, and a main button that finally stands out. Cancel steps back quietly.

"Follow the brand folder" works because the project has one; see Your Brand Rules Folder.

Two ways to upgrade a dated page screenshot + plain request screenshot + reference + request agent reads brand rules same fields, same flow new look same posts and links the reference feel
The picture shows what to change. The sentence says what must stay.

Way 2: show the look you want

Sometimes you already know the look you want. Our second page is a blog called RedBlog, and it looks just as old: a plain title line, a row of links ("Home | Blogs | About | Write a Blog"), and three posts written as "Posted by John Doe on Jan 20, 2025 in Travel" with a "Read more..." link.

This time, along with the screenshot, drop in a reference image: a picture of how you'd like the blog to look and feel. The reference here is the RedBlog image ChatGPT drew in UI Ideas From Figma Make, Google Stitch and ChatGPT:

Reference image of a modern RedBlog page: a red wavy hero with the title A Simple Blog for Big Ideas, Explore Blogs and Write a Blog buttons and a paper-and-pencil illustration, and below it Latest Blogs with three cards (A Weekend in the Mountains, Simple Productivity Tips, The Joy of a Slower Life), each with a photo, a category tag, an author and a date.
The reference image: a big red hero and post cards with an image, a tag, the author and the date.

The request says exactly what you want from it:

Make our blog look and feel like this reference image. Use the red brand, a big hero and post cards, and keep every post and link.

The agent reads both images and the brand rules, then edits the page and the stylesheet. It replies: "Done. Same three posts and links, in the reference look." The result has a red hero, clean cards, and the same three posts as before.

Reference and result

Put the reference next to the result and compare the parts:

  • The hero is there, with the big title and the two buttons.
  • The cards are there too, with the image, the tag, the author and the date.

It isn't an exact copy, and it doesn't need to be. It's the same feel, with our own posts. If the reference is someone else's page, take the feel and leave their logo, name and text alone; the fair-use rules are in Google Stitch From a Sketch or Screenshot.

Check it by eye before you accept

Whichever way you go, ask three questions:

  1. Is everything still there?
  2. Same order, and the same buttons doing the same things?
  3. Is it easier to read than before?

If anything went missing, say so in one sentence and ask the agent to put it back.

Common mistakes

  • Only saying "make it modern". Without "keep every field and the same flow", the agent may drop or reorder things.
  • Not naming what bothers you. Borders, tiny text and flat grey buttons are specific. "It looks bad" isn't.
  • Expecting an exact copy of the reference. You're after the feel, with your own content.
  • Accepting without clicking. Check that every button still does what it did.

Try it yourself

Pick an old page of your own. Write down three things that make it look dated, then give the agent one screenshot and a request that names what to keep. Compare before and after with the three questions.

Tried the exercise? Share your answer or ask a question.

The StudyEasy AI Community is free to join, with the lesson files, notebooks and code.

Join free on Skool

Keep going in React · 44 of 59

Previous
Figma Make: Prompt to Prototype With a Four-Part Prompt
Next post
States and Feedback: Make Every Click Get an Answer

Related course on Udemy

The Python Architect Masterclass: Full Stack to AI Engineer

Python, Django, FastAPI, React, Docker, AWS, LLMs, RAG, agents and MCP, from first steps to AI engineer.View on Udemy ↗: The Python Architect Masterclass: Full Stack to AI Engineer (paid course, opens in a new tab)

Related posts

One Request, Two Answers: the Same Post as an HTML Page and as JSON

Ask a Django blog for the same post twice: once as a 12,731-byte HTML page built by a template, once as 2,976 bytes of JSON built by a serializer. Compare the headers, see who builds the page, and why the server still owns every write.

A Blog Design from a Prompt: Downloading Figma Make Code and Reading App.tsx and BlogCard.tsx

Make a blog design from a prompt in Figma Make, download src.zip, unzip it with Python's zipfile module, and read the two files that matter: App.tsx with its selectedPost state and BlogCard.tsx with its props.

How a Web Page Works: HTML Tags, Elements and Attributes

A web page is a text file full of labelled pieces. Learn tags, attributes and nesting with three tiny pages, and see what breaks when an attribute or a closing tag is wrong.

Semantic HTML: header, nav, main, aside and footer as Page Landmarks

The same page written as div soup and with semantic tags looks identical, but only one gives screen readers and search engines landmarks and an outline. Plus tables, div, span and the one-main rule.

On this page

  • Why this page looks dated
  • Way 1: one screenshot, one plain request
  • Way 2: show the look you want
  • Reference and result
  • Check it by eye before you accept
  • Common mistakes
  • Try it yourself
Community · Free to join
Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool

Related course on Udemy

The Python Architect Masterclass: Full Stack to AI Engineer

Python, Django, FastAPI, React, Docker, AWS, LLMs, RAG, agents and MCP, from first steps to AI engineer.View on Udemy ↗: The Python Architect Masterclass: Full Stack to AI Engineer (paid course, opens in a new tab)

Single logo

Empowering Education, One Course at a Time

About
About usContact us
Legal
Terms of UsePrivacy Policy

© 2026 StudyEasy Organization. All rights reserved.