❌

Normal view

The rendered page needs to be part of the next frontend prompt

A hero can compile successfully and still have the wrong line breaks, an illustration that dominates the copy, or spacing that looks nothing like the reference. The next edit needs evidence from the page the browser actually rendered.

Ant Ling's Ling-3.0-flash-VL frontend demo shows a generate β†’ render β†’ capture β†’ compare β†’ revise loop. One segment turns a London illustration with Big Ben, a Tube sign and a red bus into a landing page. Another shows a reference site and the local result side by side. There are visible layout differences, which makes the comparison stage more interesting than a claim of instant replication.

The useful input for that stage is a pair of images at a known viewport: the reference and the current render. Feedback can then name an observable mismatch and an intended change: the heading wraps a line too early; the image takes too much horizontal space; the next section starts too far down.

Keep that visual feedback attached to the relevant route and state. A screenshot of the initial page says little about the open menu or the narrow layout.

VL supplies the visual interpretation here. The surrounding environment still has to run the app, capture screenshots and expose logs or DOM information. Interaction, accessibility and viewport coverage need their own checks. What this demo adds is a concrete feedback source for the next CSS/layout revision.

submitted by /u/Expert_Coffee_203 to r/Frontend
[link] [comments]

A11Y Open Source Book & Course

Hey, I just finished recordings for A11Y course on Udemy*/YouTube, comes with 61 CodeSandboxes, where you can just quickly click to jump into the problem.
https://github.com/Ditectrev/Awesome-A11Y-Book-Course-Web-Accessibility-A11Y

*If you like the content, DM me, I'll send a free link to the video version.

submitted by /u/Ditectrev to r/Frontend
[link] [comments]

Is a countdown timer on a signup form a dark pattern if the deadline is real?

Is a countdown timer on a signup form a dark pattern if the deadline is real?

Genuine question I've been wrestling with. I use urgency tactics on some forms because they convert well. But I'm starting to wonder where the line is.

Some data that's been bothering me:

  • Nearly 40% of e-commerce countdown timers are fake - they reset on refresh or the offer just continues after "expiring"
  • 56% of consumers report losing trust in a website after encountering manipulative design
  • 43% stopped purchasing from a retailer entirely after a bad experience

If the scarcity is genuine, is it still manipulation? Or does the honesty of the claim make it acceptable?

Also curious: have you ever caught yourself falling for one of these as a user, even though you knew what was happening?

submitted by /u/bogdanelcs to r/Frontend
[link] [comments]
❌