javascript Interview Questions
12 interview questions in our bank cover javascript, most of them Coding & Leetcode-style Questions. They average 2.8/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about javascript: SoFi, Salesforce, Apple, Block, Ramp, and 2 more.
Practice these on the problems board →Companies that ask about javascript
Question mix
- Coding & Leetcode-style Questions12
Difficulty
- 2/5 — easy2
- 3/5 — medium10
Questions tagged javascript
Tournament Progression Chart with JavaScript Simulation and UI
3/5Featured in front-end interviews at Block, this interactive UI creation challenge asks developers to build a dynamic tournament bracket visualization tool using web technologies. Candidates must programmatically simulate a multi-round competitive event involving several participants, dynamically updating the interface to reflect match progression until an ultimate winner emerges. This task evaluates DOM manipulation, event-driven programming, clean layout design, and state management in JavaScript. The full specifications, asset guidelines, and working code solution require an active subscription.
Coding & Leetcode-style QuestionsBlockFrontend Challenge — DOM Flag Extraction + React Wordle
3/5Assessing practical client-side development skills is the focus of this Ramp frontend engineering assessment. Candidates must navigate a complex Document Object Model structure to extract hidden string fragments scattered across deeply nested elements using wildcard selectors, alongside building interactive interface components. This test evaluates your mastery of DOM traversal APIs and modern component-based architecture. Unlock the full challenge details and reference solution by subscribing.
Coding & Leetcode-style QuestionsRampFrontend Curry: addTwoNumbers -> addThreeNumbers(a)(b)(c)
2/5Featured in Salesforce recruitment rounds, this frontend engineering exercise focuses on functional programming by asking candidates to transform a standard summation utility into a curried invocation chain. It tests a deep understanding of closures, higher-order functions, and JavaScript evaluation patterns. Candidates frequently encounter follow-up requirements that generalize the function for an arbitrary number of arguments. The complete problem requirements and the professional model solution are available exclusively to subscribers.
Coding & Leetcode-style QuestionsSalesforceHTML/CSS Search Bar and Lazy-Loading List
3/5Frontend technical screens frequently combine visual layout implementation with asynchronous state management in vanilla web technologies. This SoFi Karat interview task challenges you to build a responsive search interface paired with an interactive paginated list that loads data dynamically on demand. It evaluates your mastery of native DOM manipulation, asynchronous data fetching, and clean user interface styling. Unlocking the full problem instructions and complete model solution requires a subscription.
Coding & Leetcode-style QuestionsSoFiStar Rating Component
3/5Master front-end user interface engineering with this interactive star rating widget challenge reported during technical evaluations at SoFi. You will build a responsive component in JavaScript and React that dynamically responds to cursor hovering, registers precise half-star increments, and persists selections upon clicking. The exercise also requires handling secondary interactions like resetting values through double clicks and clearing temporary states when the cursor leaves the target area. View the full implementation guide and production-ready source code by securing a subscription.
Coding & Leetcode-style QuestionsSoFiFrontend Traffic Light (HTML / CSS / JS)
3/5Build an interactive UI component in this popular frontend challenge from Salesforce, frequently given to full-stack candidates. You will construct a visual signaling device that transitions through timed states using only HTML, CSS, and vanilla JavaScript without external libraries. This exercise tests your DOM manipulation skills, asynchronous timing management, and ability to coordinate state changes cleanly in a browser environment. The complete problem statement and model solution require a subscription.
Coding & Leetcode-style QuestionsSalesforceFrontend React Screen
2/5Prepare for modern frontend interviews with this dual-focus assessment reported from Apple, covering essential algorithmic coding and core React concepts. The technical portion challenges your ability to manipulate and consolidate sequential numerical ranges efficiently, while the conceptual discussion dives deep into Virtual DOM reconciliation mechanics and custom hook patterns. You will need to articulate both time complexities and rendering performance trade-offs clearly. Access the full problem walkthrough and expert model solution by obtaining a subscription.
Coding & Leetcode-style QuestionsAppleImplement a Debounce Function in JavaScript
3/5In this classic frontend design challenge reported at Apple, you must build a robust utility function that controls the execution frequency of another routine by delaying its invocation until a specified quiescent period passes. Candidates are evaluated on their mastery of closures, asynchronous timing mechanics, and resource cleanup. Access to the full exercise details, test harnesses, and expert model implementation requires a subscription.
Coding & Leetcode-style QuestionsAppleReact Loan Estimator
3/5This SoFi frontend interview round requires building a dynamic loan calculator application with robust user interactions, precise styling, and accessibility features. Candidates must structure clean component logic while preparing for architectural discussions around performance optimizations like debouncing and caching. The evaluation tests your ability to write resilient UI code that remains testable even under unexpected environment constraints. Unlock the complete requirements and reference implementation by subscribing.
Coding & Leetcode-style QuestionsSoFiFrontend Grid Game: Robot Eats Candies
3/5In this engaging frontend grid challenge reported from Snowflake, you must build a game class that coordinates a robot navigating a two-dimensional matrix to collect scattered items. The puzzle tests your ability to implement algorithmic pathfinding strategies, manage directional grid movements efficiently, and compute total travel steps under specific spatial rules. To view the complete problem statement, optimal algorithmic approaches, and the verified model solution, a paid subscription is required.
Coding & Leetcode-style QuestionsSnowflakeImplement a Promise Class in JavaScript/TypeScript
3/5Master asynchronous programming fundamentals with this core frontend engineering prompt featured at Augment Code. You will be asked to build a custom Promise construct from scratch, implementing essential handlers like fulfillment, rejection, and cleanup routines while ensuring seamless method chaining. This challenge evaluates your deep understanding of asynchronous control flow and JavaScript execution models. The complete problem description and expert reference implementation require a subscription.
Coding & Leetcode-style QuestionsAugment CodeKanban Board Task Actions
3/5This frontend engineering task, reported during interviews at SoFi, requires building an interactive task management dashboard with dynamic card movement, creation, and deletion capabilities. Candidates must design a robust component state model and implement fluid handlers to transition items seamlessly across multiple workflow columns. The evaluation measures your mastery of client-side state architecture, user interaction handling, and live debugging under interviewer constraints. Access the complete prompt requirements and a production-grade reference implementation with a paid subscription.
Coding & Leetcode-style QuestionsSoFi
Studied alongside
javascript interview FAQ
- How many javascript interview questions are there?
- 12 reported questions, mostly Coding & Leetcode-style Questions.
- Which companies ask javascript questions?
- SoFi (4), Salesforce (2), Apple (2), Block (1), Ramp (1), Snowflake (1), Augment Code (1).
- How hard are javascript questions?
- They average 2.8 out of 5: 2 at 2/5, 10 at 3/5.