Sharpen Your Coding Skills
34+ hands-on exercises across 7 languages — solve them in the live compiler and level up your skills.
Build a Personal Bio Page
Create a bio page with headings, paragraphs, a photo, and links to social profiles.
Solve in CompilerBuild a Signup Form
Design a signup form using all major input types: text, email, password, checkbox, and submit.
Solve in CompilerCreate a Responsive Table
Build an HTML table with headers, merged cells (colspan/rowspan), and basic CSS styling.
Solve in CompilerHTML5 Semantic Layout
Build a blog-style page using semantic elements: header, nav, main, article, aside, footer.
Solve in CompilerCenter a Div
Center an element both horizontally and vertically using 3 different CSS techniques.
Solve in CompilerResponsive Card Grid
Build a responsive card grid that adapts from 1 to 3 columns using CSS Grid.
Solve in CompilerCSS Animations
Create a button with a hover glow effect and a spinner animation using @keyframes.
Solve in CompilerDark Mode Toggle
Implement a light/dark mode toggle using CSS variables and a class on the body element.
Solve in CompilerSticky Header & Scroll Snap
Build a page with a sticky navbar and scroll-snap sections for a smooth scroll experience.
Solve in CompilerReverse a String
Write a function that reverses a string without using the built-in reverse() method.
Solve in CompilerFizzBuzz
Print numbers 1–100, replacing multiples of 3 with Fizz, 5 with Buzz, 15 with FizzBuzz.
Solve in CompilerPalindrome Checker
Determine if a given string reads the same forwards and backwards.
Solve in CompilerFetch Data from an API
Fetch users from a public API and render them as cards with name, email, and avatar.
Solve in CompilerDebounce Function
Implement a debounce utility that delays function execution until after a wait period.
Solve in CompilerDeep Clone an Object
Write a function to deep-clone a nested object without using JSON.parse/JSON.stringify.
Solve in CompilerCount Word Frequency
Given a sentence, count the frequency of each word and print the top 5 most common.
Solve in CompilerFibonacci Generator
Write a generator function that yields Fibonacci numbers lazily on demand.
Solve in CompilerFile Word Counter
Read a text file and return the total number of words, lines, and unique words.
Solve in CompilerFlatten Nested List
Write a recursive function to flatten an arbitrarily nested list into a flat list.
Solve in CompilerSimple Web Scraper
Fetch a Wikipedia page and extract all headings using requests and BeautifulSoup.
Solve in CompilerMini ORM
Build a simple object-relational mapper that maps Python classes to SQLite tables.
Solve in CompilerSelect & Filter Rows
Write queries using SELECT, WHERE, ORDER BY, and LIMIT on a products table.
Solve in CompilerJOIN Tables
Use INNER JOIN to combine an orders table with a customers table to show order details.
Solve in CompilerAggregate Functions
Use COUNT, SUM, AVG, MIN, MAX and GROUP BY to analyze a sales dataset.
Solve in CompilerSubqueries
Find all customers who spent more than the average order amount using a subquery.
Solve in CompilerWindow Functions
Rank employees by salary within each department using ROW_NUMBER and RANK.
Solve in CompilerType a User Object
Define an interface for a User with optional fields, nested types, and union types.
Solve in CompilerGeneric Stack
Implement a generic Stack<T> class with push, pop, peek, and isEmpty methods.
Solve in CompilerUtility Types
Use Partial, Required, Readonly, and Pick to transform an interface in 4 exercises.
Solve in CompilerType-Safe Event Emitter
Build a strongly typed event emitter that enforces correct payloads per event name.
Solve in CompilerCounter Component
Build a counter with increment, decrement, and reset buttons using useState.
Solve in CompilerFetch & Display List
Fetch a list of posts from an API and display them with a loading skeleton.
Solve in CompilerCustom Hook: useLocalStorage
Write a custom hook that syncs state with localStorage and handles SSR safely.
Solve in CompilerInfinite Scroll
Implement infinite scroll using IntersectionObserver and paginated API calls.
Solve in CompilerReady to solve?
Open the live compiler and start solving these exercises right now — no install required.
Open Live Compiler