r/Frontend • • 13h ago

I have a front end system design interview with Walmart Global Tech. What are some types of questions they might ask?

22 Upvotes

I have a front end system design interview with Walmart Global Tech.

What are some types of questions they might ask?


r/Frontend • • 1d ago

We stopped spoofing user agents in our open-source browser. On the Mac, WebKit no longer tells your site it's Chrome 154

Thumbnail
gallery
0 Upvotes

I work on Kelpie, an open-source (Apache-2.0) browser for Mac, Windows, Linux, Android, iPhone and iPad. We made it, so take this as a dev post. A couple of weeks ago I posted its 3D DOM inspector here. Today's release changes something that matters if your frontend ever looks at navigator.userAgent: which string we send.

What it used to do

Three platforms shipped a hard-coded string (second image is the actual diff):

  • macOS, WebKit renderer: a desktop Chrome 154 string. The code comment said Slack refuses stale Safari versions and Google OAuth wanted a regular desktop browser string.
  • iOS: a fixed iOS 18.0 Mobile Safari string.
  • Android (System WebView): a fixed "Android 14; Pixel 8 Pro ... Version/131" string.

Windows (WebView2) and Linux (Chromium) already used the engine default.

Those strings start going stale the day they ship, and on the Mac a WebKit engine telling sites it's Chrome can get served Chrome-specific code. Part of the point of Kelpie is checking how your page really behaves on a real iPhone or Android phone, so lying about the engine worked against that: any UA sniffing in your code took the wrong branch.

What it does now

  • Tabs, pop-ups and the in-app sign-in window use the active engine's own default user agent. On the Mac you can switch between WebKit and Chromium, and the user agent now follows whichever engine is active.
  • Settings has a User agent choice: Engine default, Kelpie test (Kelpie-Test/1.0), Kelpie automation (Kelpie-Automation/1.0) or Custom. A preset replaces the whole string, so test traffic is easy to pick out in server logs.
  • Custom has to be printable ASCII with no leading or trailing spaces. A value with CR/LF in it is rejected (there's a test for "Example/1.2\r\nInjected: true").
  • It's per local browser profile and applies after a restart. The value is read once per launch, so open tabs, new windows and engine switches don't end up with mixed strings halfway through a session.
  • Only the UA string changes. Other identity signals stay whatever the engine does.

The known cost: some sites are picky about embedded browsers. Google in particular can decline sign-in, and when it does, our docs say to open that site in Safari or Chrome and sign in there.

Getting it

Builds are in the GitHub release for 2026-12-04: macOS 0.2.27 (Apple Silicon ZIP), Windows 0.2.19 (x64 ZIP), Linux deb/rpm/AppImage/tar.gz, and a signed Android APK. The iOS app is on its way to the App Store and is built from source until then. Downloads: https://kelpie.rocks

Repo: https://github.com/UnlikeOtherAI/kelpie

What I'd like to hear

  1. Do you still branch on the user agent anywhere in your frontend, and what for? Have you got a site that breaks on a plain WebKit or Android WebView string? I'd rather collect real cases than guess.
  2. For the override, is replacing the whole string right, or would you rather we append a token to the engine's string?
  3. Is "restart to apply" acceptable, or would you expect it to apply to new tabs straight away?

Images: the first one is an AI-generated illustration, not a screenshot. The others are the real diff and code from the commit, and a real screenshot of Kelpie on Windows.


r/Frontend • • 2d ago

What stack are people actually shipping award-winning frontend sites with these days?

0 Upvotes

I've won a CSS WOTD, an Awwwards HM, and a Muzli award on client/studio work, mostly keeping the stack lean instead of throwing huge libraries at everything.

For anyone else here who has built Awwwards / CSSDA sites, what frontend stack did you actually use (vanilla JS + CSS, Astro, Next.js, GSAP, Three.js, Lenis, etc.)? And honestly, did those awards ever actually matter for landing better frontend work or mostly just impress other devs?


r/Frontend • • 2d ago

Test Local Apps on a Real Phone Over Cellular Data

Thumbnail instawormhole.com
0 Upvotes

r/Frontend • • 2d ago

Does a staff frontend eng still need to know JavaScript?

0 Upvotes

Does a staff-level frontend engineer still need to be able to read and write JavaScript at a high level? Even if their primary codebase is in Typescript and they will be using agentic coding tools?


r/Frontend • • 3d ago

Backend for Reactjs website

10 Upvotes

I made a website using Reactjs and now need a way to enable login on it

I'm hosting my website on Cloudflare and using D1 serverless sql databases. How could i make the login work since i already have the tables for users ?


r/Frontend • • 3d ago

Free tool for all the frontends out there doing websites - browser based responsive check

Thumbnail
kunulabs.com
0 Upvotes

r/Frontend • • 4d ago

Same YAML, two renders: our wireframe CLI draws a page as a greyscale product mock or as a line blueprint, switched by one key

Thumbnail
gallery
0 Upvotes

I'm one of the people behind wf (Wireframes), an open-source CLI (MIT) that turns YAML into clickable greyscale HTML wireframes for web, iOS and Android. A person or an agent writes the YAML, wf renders it. This post is about one part of it: the two render modes.

A page picks its mode with one key:

page:
  id: settings
  renderMode: line   # card is the default

Images: the first one is an AI-generated header, not a screenshot. The other two are real wf screenshots output of two page files that are identical apart from that one line (I diffed them).

What changes between the modes

  • card: light grey page (#f3f4f6), white surfaces with a 1px border and a soft shadow, rounded corners. The gaps between cards show the grey background, so they work as gutters. It reads like a lo-fi product mock.
  • line: white page, no fills, every surface is a hairline outline, corners are sharp or barely rounded (the page's corner radius is divided by 3, so 12px becomes 4px), buttons are hairline buttons. It reads like a blueprint.

What doesn't change

The element tree, the layout and the sizes. And both modes are greyscale: hue only shows up for severity (the danger button in the screenshots, invalid fields, alerts, badges). There's a test that fails if one of the severity colours leaks into any other selector.

One CSS detail I like

Only nodes the renderer marks data-wf-frame="surface" draw a box at all. In card mode that box is a border plus a shadow. In line mode it's an outline with outline-offset: -1px, so the stroke sits inside the box and switching modes doesn't change any element's size or move anything. Layout is identical, only the paint differs.

Try it

It's not on npm yet, so it runs from a checkout:

git clone https://github.com/UnlikeOtherAI/wireframes
cd wireframes && pnpm install
node cli/bin/wf.js init my-app
cd my-app && node ../cli/bin/wf.js build --output ./build

Then open build/web/index.html. wf catalogue --mode line renders the whole element catalogue in either mode if you want to compare all elements side by side. Spec for the modes: docs/cli/rendering-modes.md.

Repo: https://github.com/UnlikeOtherAI/wireframes

What I'd like feedback on

  • If you review wireframes with other people: which of these would you show to a client, and which to developers?
  • Does line mode look "unfinished" enough that nobody starts arguing about visual polish too early?
  • Should the two modes differ in anything beyond paint, like type weight or density?

r/Frontend • • 4d ago

CSS timeline-scope: One Scroll, Multiple Carousels

Thumbnail
css-tricks.com
12 Upvotes

r/Frontend • • 4d ago

Learning front-end engineering

10 Upvotes

I’m UIUX designer with 5 years of experience currently want to expand my skillset for that want to learn front-end engineering. I did purchased few courses but want to know from industry people how do I approach learning this, and also if there’s any insights about this role and what really expected in the industry would be appreciated ✌️


r/Frontend • • 7d ago

How do you guys create those insanely creative and animated websites?

79 Upvotes

I've been coming across some absolutely crazy websites with smooth scroll animations, interactive 3D environments, cinematic transitions and creative micro-interactions, especially on Awwwards.

I'm currently learning web development, and I'm really curious about how developers actually build these experiences from scratch.

For those of you who develop such websites:

What technologies and libraries do you mainly use?

How did you learn to create such complex animations?

Do you design the entire experience beforehand or experiment while coding?

How do you achieve smooth animations without sacrificing performance?

Are there any underrated resources, courses or YouTube channels that helped you?

I'm particularly interested in Three.js, GSAP, interactive 3D environments and creative web development in general.

I'd love to see some websites you've personally built and hear about the process behind them, even if they're experimental projects.

My goal isn't just to replicate cool animations but to actually understand how they work and eventually create something original.

Would really appreciate any insights!

Edit: Why ya'll downvoting me, am i doing something wrong I'm learning something from you guys, if I'm doing something wrong please point it out I would be glad to rectify it..


r/Frontend • • 8d ago

Do you use CSS Container Queries for reusable components, or still rely mostly on media queries?

9 Upvotes

I've been experimenting with CSS Container Queries, especially for components that appear in different layouts.

One thing I like is that a card can adapt to the space available to it rather than the entire viewport.

For example:

.card-wrapper {
  container-type: inline-size;
}

.card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

u/container (min-width: 500px) {
  .card {
    grid-template-columns: 140px 1fr;
  }
}

This makes the component more independent of the page layout.

But I'm curious about real-world usage:

  • Have you started using container queries in production?
  • Do you still use media queries for most responsive layouts?
  • Have you encountered any browser support or debugging issues?

I'd be interested in hearing how people are using them in larger component-based projects.


r/Frontend • • 8d ago

Introducing Effect UI

Thumbnail
ui.effect.website
0 Upvotes

r/Frontend • • 8d ago

Changing domain from frontend to Data Analyst

13 Upvotes

I have 5.4 yrs of exp in front end technologies , but for this 5+ years , i have been trying to update myself but I didnt , i have joined paid course but nothing worked out , I thought I lack consistency now I realized Im not enjoying learning this Front end . Im
Not enjoying frontend thats the reason . I have been forcing myself to do it . So now I planned to change my domain to Data Analyst I dont know how it will be . may I know the suggestions please?


r/Frontend • • 9d ago

Fix Dev Server Host Errors Behind an HTTPS Tunnel

Thumbnail
instawormhole.com
0 Upvotes

r/Frontend • • 9d ago

How CSS :has() and @container let me cut ~200 lines of UI state JS in a <10KB zero-build tool

49 Upvotes

Hey everyone! A few weeks ago I shared a post here about how UTF-16 surrogate pairs and historical Unicode holes break naive math-offset text converters. A bunch of you gave super helpful feedback on Safari clipboard edge cases, which pushed me to clean up the CSS architecture of my little side project (100emoji.shop — single static HTML file, no bundler/minifier so view-source has the full readable code).

When building a live preview grid with 20+ text style cards and category filters, my initial instinct was the usual JS-heavy route: track filter/input state in JS, toggle .is-empty classes, listen to input/focus to collapse the header on mobile, and add viewport breakpoints so wide glyphs don't overflow.

While refactoring to keep the whole app under 10KB gzipped, I realized modern CSS can handle almost all of that UI state declaratively on the compositor/layout thread with zero JS listeners. Here are the 3 patterns that replaced ~200 lines of glue code for me:

1. Zero-JS Empty States with :has()

Previously, every time a filter or search ran, JS had to count visible cards and toggle an empty-state element:

// Old imperative glue
function syncEmptyState() {
  const visibleCount = grid.querySelectorAll('.preview-card:not([hidden])').length;
  emptyBanner.hidden = visibleCount > 0;
}

With :has(), the grid container already knows whether any unhidden card exists:

.empty-state-banner {
  display: none;
}

/* Show empty state automatically whenever no visible card remains */
.previews-grid:not(:has(.preview-card:not([hidden]))) + .empty-state-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
}

Now filtering logic only sets card.hidden = !matches and walks away. No state sync bugs, no extra DOM queries.

2. Auto-Collapsing the Mobile Hero Header on Input

On mobile screens, once someone taps the text input or starts typing, a tall hero banner wastes half the viewport above the virtual keyboard. Instead of binding focus/input/scroll handlers to toggle classes on <body>, :has() handles both focus and non-empty input natively:

.hero-header {
  max-height: 220px;
  opacity: 1;
  overflow: hidden;
  transition:
    max-height 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.2s ease,
    margin 0.28s ease;
}

body:has(#user-input:focus, #user-input:not(:placeholder-shown)) .hero-header {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0.5rem;
}

Quick tip: make sure your <input id="user-input" placeholder=" "> has at least a non-empty placeholder string so :not(:placeholder-shown) reliably detects when text is present.

3. Per-Card Fluid Sizing with @container + cqi Instead of Viewport Media Queries

Unicode mathematical alphabets (like Double-Struck 𝕎𝕖𝕝𝕔𝕠𝕞𝕖 or Fraktur 𝔚𝔢𝔩𝔠𝔬𝔪𝔢) have much wider advance widths than normal Latin characters, so fixed rem sizes overflow narrow grid columns fast.

Instead of juggling @media queries for 1-col, 2-col, and 3-col viewports, turning each card into an inline-size query container let every card scale its own typography from its actual column width:

.preview-card {
  container-type: inline-size;
  container-name: card;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border-radius: 12px;
}

/* Font size scales smoothly with the card's own inline width */
.preview-output {
  font-size: clamp(0.95rem, 6.5cqi, 1.3rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

@container card (max-width: 260px) {
  .card-actions {
    flex-direction: column;
    gap: 0.35rem;
  }
}

Takeaways & Caveats

  • Performance: Keeping :has() scoped to direct containers (.previews-grid:not(:has(...))) and specific IDs (#user-input) kept style recalculation under ~0.3ms in Chrome DevTools performance traces, even when typing fast on throttled CPU.
  • Browser support: :has() and @container inline-size queries have been baseline across Chrome, Edge, Firefox, and Safari for a good while now, so for modern utility tools we didn't need a JS fallback.

Curious if anyone else here has been ripping out small UI state listeners in favor of :has() / container queries lately, or if you've hit selector performance gotchas on much larger DOM trees? Happy to share more details if anyone is curious!


r/Frontend • • 9d ago

Self Taught Front End Dev that learns through hands on implementation looking for tips

4 Upvotes

Hi, I run a website through blogger and I'm highly fluent in HTML5. Slowly learning CSS3. I do use JS6 but I don't write any of the boiler plate as it's still too advanced for me. I was wondering if you guys have suggestions to help me learn CSS3 and JS6 syntax? I struggle with rote memorization, but if I can tie a syntax line to a visual output I find that I remember it easier. Still working on learning the jargon. Also if you have the time I would love suggestions to further improve my live code. I've been doing front end coding for roughly 1 year and 2 months.
KittyPaine/pstrophyguides.blogspot.com: A centralized collection of interactive video game trophy guides and walkthrough assets, tracking the evolution of custom HTML5, CSS3, and DOM-based templates designed to optimize usability, searchability, and performance for gamers.


r/Frontend • • 10d ago

Should our company use design tokens or a design.md file?

0 Upvotes

I've been asked by my peers to begin using a design md file but I was thinking that lack of structure would make it difficult to maintain. The benefits is that our codebase can begin using our design tokens but we would lack the structure of a .json file or something else I could easily parse.

I'm curious what others are doing and if anyone has had any success convincing their teams to use design tokens files as opposed to a markdown file to capture these types of style variables.

Also, is it common to use a design system across projects still or is it easier to get by without them now?


r/Frontend • • 11d ago

For listing pages, do you store filters in the URL or component state?

5 Upvotes

I was working through a common frontend scenario: a product listing page with search, category filters and sorting.

There are two approaches I've used:

1. Keep everything in component state

const [category, setCategory] = useState("all");
const [sort, setSort] = useState("newest");

2. Store shareable filters in the URL

const params = new URLSearchParams(window.location.search);

const category = params.get("category") || "all";
const sort = params.get("sort") || "newest";

The URL approach has some useful advantages:

  • Filters survive a page refresh.
  • Users can share the exact filtered view.
  • Browser back and forward navigation can restore previous filters.

But it also means keeping the URL and UI state in sync, which can introduce extra complexity.

I'm curious how others handle this in production.

Do you generally keep filters in component state, sync them with URL parameters, or use a dedicated state-management solution?

Where do you draw the line?


r/Frontend • • 11d ago

EPAM Frontend Engineer – JavaScript Technical Interview | What to Expect?

25 Upvotes

Hi everyone,

I recently applied for a Frontend Engineer position at EPAM and have an upcoming JavaScript technical interview.

Has anyone recently gone through the technical interview process at EPAM, particularly for a Frontend Engineer or Senior Frontend Engineer position?

I would really appreciate some guidance on the following:

  • What should I expect during the technical interview?
  • Which JavaScript concepts should I focus on?
  • Do they ask live coding questions or problem-solving exercises?
  • Do they cover DSA, React, TypeScript or frontend system design?
  • How difficult is the interview, and how long does it usually last?
  • Are there any specific topics or resources you would recommend preparing?

I applied for a position in the UAE, but interview experiences from other locations would also be helpful.

If anyone has recently interviewed at EPAM, I would really appreciate it if you could share your experience.

Thank you in advance!


r/Frontend • • 12d ago

The V8 JavaScript Runtime Undermined My Constant-Time JavaScript Library

Thumbnail
soatok.blog
1 Upvotes

r/Frontend • • 12d ago

Analytics dashboard for visualizing typing-game-cli round

Thumbnail
gallery
5 Upvotes

r/Frontend • • 13d ago

Share Private Client Demos With Six-Digit Email Codes

Thumbnail
instawormhole.com
0 Upvotes

r/Frontend • • 13d ago

Automated JEV-assisted superfast HTML website builder (OS; MIT)

0 Upvotes

JEV is an ultra-fast classifier from TypeSafe, that answers multiple-choice questions, and I use it to arrange the pre-defined UI elements into a webpage based on the user's prompt. For example, for the prompt e.g. "Frontend for login form" JEV would return something like the following:

"surface": { "type": "choice", "choice": "app-login", "confidence": 1,

"probabilities": { "app-login": 1, "app-signup": 0, "website": 0, "app-checkout": 0, … all 14 etc... etc... } }

And here the "app-login" is a ready-made UI element but one can modify it later in the app manually. So this is what gets inserted into resulting HTML, among other things.

Besides JEV there are many other elements you can play manually with e.g. replace and resize images, add and link pages etc.

Repo: https://github.com/GPTchatly/Forma
Free (with limits) hosted Forma Editor

Many of the UI elements are by Markmead's Hyperui, and Cole Bemis' Feather icons; Fancy Components (by Daniel Petho); Velora UI (Aigars Silkalns); Cult UI (Nolly Studio)