Blog5 min read

Karat Frontend Interview: Format, Question Types, and How to Pass

On this page13 sections

Karat Frontend Interview: Format, Question Types, and How to Pass

Karat runs technical first-round interviews on behalf of other companies. If your recruiter at Atlassian, PayPal, Headway or another Karat customer says “the next step is a Karat interview”, you’ll be talking to a Karat interviewer, not someone from the team you’re applying to. Your recording and scores then go to the hiring company.

That changes how you should prepare. Karat interviews follow a fixed, timed script. The interviewer moves on when the clock says so, whether or not you’re done. Candidates who fail usually know the material but run out of time.

How a Karat frontend interview is structured

The exact script depends on the hiring company, but frontend reports from FrontendLead members share a common shape:

Part Typical length What happens
Intro ~5 min Interviewer explains the format. Little or no “tell me about yourself”.
Rapid-fire knowledge ~15–20 min Either JavaScript output and concept questions, or a short verbal design walk-through
Coding ~30–35 min Build a UI from a mockup with HTML and CSS, and/or a vanilla JS data-fetching task
Wrap-up ~2–5 min Your questions (usually about the format, not the team)

For Atlassian, members describe a 60-minute Karat screen. Part one is either about 20 minutes of JavaScript output questions (coercion, closures, hoisting, setTimeout and promise ordering) or a 20-minute verbal walk-through of an end-to-end product flow. Part two is coding: a layout from a mockup in HTML and CSS, then a data-fetching task in vanilla JavaScript. One reported prompt was “call an API and build a todo list with vanilla JS”. See the Atlassian guide for the full loop.

Other companies use Karat with different scripts. Some candidates report more algorithm-style questions (around LeetCode medium), so ask your recruiter whether your Karat round is frontend-specific.

Part 1: Rapid-fire JavaScript questions

These are short. You get a snippet or a one-line question and about a minute to answer. Explain your reasoning out loud in one or two sentences. The interviewer is scoring correctness and clarity, not depth.

Event loop ordering

console.log('A');
setTimeout(() => console.log('B'), 0);
Promise.resolve().then(() => console.log('C'));
queueMicrotask(() => console.log('D'));
console.log('E');

Answer: A E C D B. Synchronous code runs first (A, E). Then the microtask queue drains in order (C, D). Then the timer callback runs (B).

Hoisting and the temporal dead zone

console.log(a); // undefined
console.log(b); // ReferenceError
var a = 1;
let b = 2;

var declarations are hoisted and initialised to undefined. let and const are hoisted but not initialised, so reading them before the declaration throws.

Closures in loops

for (var i = 0; i < 3; i++) setTimeout(() => console.log(i));
// 3 3 3

for (let i = 0; i < 3; i++) setTimeout(() => console.log(i));
// 0 1 2

var gives one shared binding; let creates a new binding per iteration.

Coercion

[] + {}        // "[object Object]"
1 + '2'        // "12"
'3' * '4'      // 12
null == undefined   // true
null === undefined  // false
NaN === NaN    // false  (use Number.isNaN)

this

const obj = {
  name: 'obj',
  regular() { return this.name; },
  arrow: () => this?.name,
};
obj.regular();        // 'obj'
obj.arrow();          // not 'obj': arrows take `this` from the enclosing (module/global) scope
const f = obj.regular;
f();                  // undefined in strict mode (this is undefined)

How to practise: take 30 snippets like these, time yourself at 60 seconds each, and say the answer out loud with a one-sentence reason. Our event loop and hoisting explainers cover the theory.

Part 2: HTML and CSS from a mockup

You’ll be shown a small layout, such as a card, a header with navigation, or a two-column list, and asked to build it in plain HTML and CSS in a basic editor. There’s no framework and often no live preview, so you need layout fluency without trial and error.

What to have ready:

<article class="card">
  <img class="card__avatar" src="avatar.png" alt="" />
  <div class="card__body">
    <h2 class="card__title">Jira ticket title</h2>
    <p class="card__meta">Assigned to Sam · 2 days ago</p>
  </div>
  <button class="card__action" type="button">Open</button>
</article>
.card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #dfe1e6;
  border-radius: 8px;
}
.card__avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.card__body   { flex: 1; min-width: 0; }          /* lets the title truncate */
.card__title  { margin: 0; font-size: 16px; white-space: nowrap;
                overflow: hidden; text-overflow: ellipsis; }
.card__meta   { margin: 4px 0 0; color: #5e6c84; font-size: 13px; }

Patterns worth memorising: flex row with one growing child (flex: 1; min-width: 0), centring with flex or grid, a responsive grid (grid-template-columns: repeat(auto-fill, minmax(200px, 1fr))), sticky headers, and text truncation. Use semantic elements (<button>, <nav>, <ul>). Interviewers notice.

Part 3: Vanilla JS data fetching

A common prompt: “Fetch items from this endpoint and render them as a list. Then add X.” X might be marking items as complete, filtering, or adding a new item. Here’s a solid baseline you can type from memory:

<form id="add-form">
  <input id="new-todo" placeholder="Add a todo" required />
  <button type="submit">Add</button>
</form>
<p id="status" role="status"></p>
<ul id="list"></ul>

<script>
  const list = document.getElementById('list');
  const status = document.getElementById('status');
  let todos = [];

  function render() {
    list.replaceChildren(
      ...todos.map((t) => {
        const li = document.createElement('li');
        const box = document.createElement('input');
        box.type = 'checkbox';
        box.checked = t.completed;
        box.dataset.id = t.id;
        const label = document.createElement('span');
        label.textContent = t.title; // textContent, never innerHTML, for API data
        if (t.completed) label.style.textDecoration = 'line-through';
        li.append(box, label);
        return li;
      })
    );
  }

  // One delegated listener instead of one per item
  list.addEventListener('change', (e) => {
    if (!e.target.matches('input[type="checkbox"]')) return;
    const id = Number(e.target.dataset.id);
    todos = todos.map((t) => (t.id === id ? { ...t, completed: e.target.checked } : t));
    render();
  });

  document.getElementById('add-form').addEventListener('submit', (e) => {
    e.preventDefault();
    const input = document.getElementById('new-todo');
    todos = [{ id: Date.now(), title: input.value.trim(), completed: false }, ...todos];
    input.value = '';
    render();
  });

  async function load() {
    status.textContent = 'Loading...';
    try {
      const res = await fetch('/api/todos'); // the endpoint the prompt gives you
      if (!res.ok) throw new Error(`HTTP ${res.status}`);
      todos = await res.json();
      status.textContent = '';
      render();
    } catch (err) {
      status.textContent = `Could not load todos: ${err.message}`;
    }
  }
  load();
</script>

Why this scores well in a timed round:

  • State lives in one array and render() rebuilds from it. There’s no out-of-sync DOM to debug at minute 28.
  • Event delegation means newly added items work without re-binding listeners.
  • textContent avoids an XSS question you don’t have time for.
  • Loading and error states are visible, which interviewers often ask about as a follow-up.

Part 2 alternative: the verbal design question

Some scripts swap the JS questions for a short design walk-through: “Walk me through what happens when a user opens a Jira board,” or “How would you design the frontend for X?” With only 20 minutes, use a compressed version of the RADIO framework: two minutes on requirements, five on components and data flow, five on the API and data model, then performance and edge cases. Say your assumptions out loud.

How Karat scores you

Karat interviewers score against a rubric the hiring company agreed to, and the session is recorded for the company to review. In practice:

  • Completion matters. A working solution to the core task beats an elegant half-solution.
  • Communication is scored. Narrate briefly as you go (“I’ll render from state so adding items is trivial”).
  • Moving on is normal. When the interviewer moves you on, it’s the script, not a sign you failed.

Some candidates report that Karat offers a redo if the first attempt goes badly, depending on the hiring company’s policy. Ask your recruiter if something went wrong, such as a connection drop or an unexpected format.

A 5-day Karat prep plan

Day Focus
1 30 JS output snippets, 60 seconds each, answered out loud
2 3 layouts from screenshots in plain HTML/CSS, no preview, 15 minutes each
3 3 vanilla fetch-and-render tasks (todo list, user table with filter, search with debounce)
4 Full timed mock: 20 min questions + 35 min coding, ideally with a friend acting as the interviewer
5 Review weak spots; prepare your environment (quiet room, tested mic, charger)

FAQ

Is Karat the same as the company’s own interview?
No. Karat conducts it, and the hiring company reviews the recording and scores. Your later rounds are with the company’s own engineers.

Can I use React in a Karat interview?
It depends on the script. Many frontend Karat rounds specifically ask for plain HTML, CSS and JavaScript, so practise without a framework.

What companies use Karat for frontend roles?
FrontendLead members have reported Karat rounds at Atlassian, PayPal and Headway, and public reports mention others. Check the relevant company guide for the specific format.

Can I reschedule?
Karat offers wide scheduling windows, including evenings and weekends. Book a slot when you’re sharp, not the first one available.


Practise the format: Event Logger · Traverse DOM · Todo app. Read anonymous Karat reports on FrontendLead Discuss.