- HTML
- CSS
- JS
- API
Expense splitter app
Build and deploy a group expense splitter with flexible splits, multi-currency support via a live exchange-rate API, and clear settlement tracking.
Join 139 people who have taken this challenge
📝Brief
Your challenge is to build Expense Splitter, a group expense app that lets anyone log shared costs, split them flexibly, track multiple currencies, and settle up clearly. There's no Figma file for this challenge, so you'll make all the design decisions yourself.
We provide a brand kit with design tokens, sample data, and detailed specs in the starter code. You can use any tools you like to help you build it.
Multi-currency support is the one required integration: fetch live rates from a currency conversion API like ExchangeRate-API (free tiers are available). The sample data seeds a "guest mode" so anyone can explore your app on first load. We recommend building this full-stack, though a frontend-only path works too.
Your users should be able to:
- Create groups, add members (including people without an account), and log shared expenses
- Split expenses equally, by exact amounts, by percentages, or by shares, with validation
- Log an expense in any currency and convert it to the group's default with live rates
- See who owes whom across the group, with pairwise settlement suggestions
- Record full or partial settlements and watch balances update instantly
- Filter expenses by category, date, and member, and see a spending breakdown
- Sign up for an account, or try the app as a guest with pre-loaded content
- View the optimal layout for the app depending on their device's screen size
These features don't have a spec, so you make the product decisions:
- Expense entry UX: What's the fast path for the common case, and how do you move to advanced split types without turning the form into a chore?
- Group dashboard design: What does a user see first: their balance, the group total, recent activity, what to settle?
- Settlement flow: How do you make "who owes whom" clear and trustworthy, and settling up feel satisfying?
Download the project and go through the README.md file. This will provide further details about the project and help you get set up.
Want some support on the challenge? Join our community and ask questions in the help channel.
🗃Assets provided
- Detailed product specification
- Brand kit and design guidance
- Starter CSS tokens and Tailwind config
- Sample data for the guest experience
- README to help you get started
- Figma design file (not included with product challenges)
💡Ideas to test yourself
- Visualize spending with interactive charts, over time and by category
- Add a debt-simplification algorithm that settles everyone in the fewest payments
- Use AI to suggest descriptions and categories, or to scan a receipt photo into an expense
- Add recurring expenses for rent, utilities, and subscriptions
- Build a shareable, Spotify-Wrapped-style spending summary for a trip or a month
- Make it an installable, offline-capable PWA
Challenge FAQs
- What is a product challenge?
Product challenges are a different format from our design challenges. Instead of providing Figma design files, we give you a detailed product specification, brand kit, and design guidance. You make the UX and design decisions yourself, with an AI agent if you'd like, and ship a real deployed product. You practice the product decisions a design file normally makes for you.
- What assets are provided with a product challenge?
Product challenges include a detailed product specification, brand kit with design guidance, starter CSS tokens and Tailwind config, sample data, and a README to help you get started. There are no Figma design files, so you make the design decisions yourself.
- What is the difference between a design challenge and a product challenge?
Design challenges provide Figma design files that you build to as closely as possible. Product challenges don't include any design files. Instead, you receive a product specification and make all the UX and design decisions yourself. Design challenges train your eye for detail and your accuracy against a professional design. Product challenges give you practice making the UX and product decisions.
- How can I get help if I'm stuck on a challenge?
The best (and quickest) way to get help on a challenge is in our Discord server. There are thousands of other developers in there, so it's a great place to ask questions. We even have a dedicated "help" channel! If you haven't joined yet, you can get an invite to our Discord server here.
- How do I submit my solution?
We'd recommend reading our complete guide to submitting solutions. If you get stuck and need help, please feel free to ask questions in our Discord server, and we'll help you submit your project.
- Is there an official solution I can take a look at?
We don't provide "official" solutions for the challenges. This is because there is no single perfect way to complete a challenge. Instead, you're encouraged to review other people's code in the community. You can learn so much by seeing how other people have approached the same challenges and giving them feedback.
- Do I get a code review when I post my solution?
Yes. You get an AI code review on one solution a month, or on every solution with Pro, and other solutions still get our automated code checks. The community can review your code too, so ask a specific question when you submit.
- Can I use libraries/frameworks on these projects?
Yes! Our challenges provide professional designs but there are no rules on what tools to use. So feel free to use anything you like to build your projects.
- Should I use AI tools when working on challenges?
Yes, once you've got the basics. We'd suggest hand-coding the early levels first, because you need to read code to check what an agent writes. Then you can build alongside an AI agent, or direct one. Whichever way you build, test each feature yourself before you submit, including with a keyboard and on a small screen.
- Can I use these projects in my portfolio?
Definitely! Please do feel free to use whatever you build in your portfolio. Helping developers add professional-looking projects to their portfolio was one of the reasons we created this platform!
- How often are new challenges added?
We aim to launch a new challenge every two weeks, with a mix of free and premium challenges.
- Can I use these challenges within my own free or commercial content/tutorials/projects?
Please visit our License page to learn more about how our challenges can be used within your own content. If you're unsure about anything, please feel free to contact us at [email protected] and we'll be more than happy to answer your questions.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord