Questions
Meant for real world and interview based scenarios.
- easy
Can you center a div?
A seemingly simple yet notoriously tricky CSS challenge
CSS - easy
CRUD
Most software out there is about creating, reading, updating, and deleting data.
JESTjs - easy
Design System: Buttons - 1
One of the ways to create a design system is to use CVA. Try CVA to create a button component.
React - easy
Job Application Form - 1
Forms can't get any simpler
HTML - easy
React Closures - 1
Closures in JavaScript can sometimes lead to unexpected behaviors, especially in React components.
React - easy
Responsive Card - 1
Cards are a popular design pattern in web development.
CSSHTML - easy
useEffect - 1
This hook can easily frustrate most developers out there. What about you?
React - easy
useState - 1
State in React begins here
React - easy
useState - 2
Buggy, buggy, buggy logic
React - medium
Action Button With Modal
Master React Modal Optimization with this coding question
React - medium
Currying Event Handlers in React
Currying is a functional programming technique that can be applied in React to handle events more efficiently, especially when dealing with multiple similar inputs. However, it's important to note that this approach is not commonly used and should be adopted based on the team's consensus and coding standards.
React - medium
Custom Input - 1: Dynamic Time Input
NewCreate a React component that accepts time calculations and converts minutes to hours when the result exceeds 60 minutes.
CSSHTMLjsReact - medium
Refactor: Early Returns
Refactor the code to use early returns instead of too many if-else statements.
JESTjs - medium
Flatten an Object
A favorite interview question but here you deal with objects
JESTjs - medium
Objects - 1
Objects are everywhere in JavaScript. This question will test your understanding of objects.
JESTjs - medium
JS Polyfill: Array.at() Method
The Array.at() method takes an integer value and returns the item at that index, allowing for positive and negative integers. Negative integers count back from the last item in the array.
JESTjs - medium
JS Polyfill: Array.filter() Method
The Array.filter() method creates a new array with all elements that pass the test implemented by the provided function. Your task is to implement a polyfill for Array.filter called arrayFilter.
JESTjs - medium
JS Polyfill: String.split() Method
The String.split() method divides a String into an ordered list of substrings, puts these substrings into an array, and returns the array. It uses a separator string to determine where each split should occur.
JESTjs - medium
Refactor: React - Class to Function Components
Though modern React applications are built using function components, there are still many class components in the wild. You might need to refactor a class component to a function component for various reasons.
React - medium
Refactor: Long Method - 1
Most common code smells are easy to spot. Long methods are one of them. Refactor it to make it more readable and maintainable.
JESTjs - medium
Refactor: Simplify Conditional Flows Using Objects - 1
Simplifying multiple conditional flows can significantly improve the readability and maintainability of your code.
JESTjs - medium
Responsive Layout - 1
Layouts are difficult. This question will give you good amount of practice and knowledge.
CSSHTML - medium
useCopyToClipboard
NewA custom hook to copy text to the clipboard. A standard requirement in many web applications.
jsReact - medium
useEffect - 2
This task involves identifying and resolving a bug caused by the absence of a cleanup function in a useEffect hook.
React - medium
useTasks
Custom hooks are a great way to reuse and abstract logic in React.
React - hard
Curry What?
Using currying in the real world
JESTjs - hard
useHistory: Custom Hook with a touch of Data Structures
DSA ain't just for backend devs! In this challenge, you'll implement a custom hook to manage history in React.
jsReact