Start free. Unlock more with Pro.
Start with free Apex drills and quizzes. Upgrade to run and check the advanced exercises.
Free: $0
No credit card required.
- Complete and check introductory Apex drills.
- Browse the instructions for every drill.
- Practice with quizzes.
ApexSensei Pro: $19/month
7-day free trial, then $19/month. Cancel anytime.
- Everything in Free.
- Complete and check the full Apex drill library, including the advanced modules.
Credit card required. Cancel before your trial ends to avoid being charged.
Coming soon: LWC exercises
Practice building Lightning Web Components with guided exercises.
Available now and coming next
| Learning content | Availability |
|---|---|
| Full Apex practice library | Available now |
| LWC practice | Coming soon |
Apex modules in Pro
- SOQL queries: SOQL and SOSL: filters, bind variables, relationships, aggregates, date literals and safe dynamic queries. (15 drills)
- DML operations: Insert, update, upsert and delete, Database methods, save results, savepoints and bulk-safe DML. (9 drills)
- Unit testing: Apex test classes that fail when the code is wrong: assertions, test data, mocks and callout mocks. (10 drills)
- Triggers: Before and after triggers, handler classes, bulk patterns, recursion guards and roll-ups. (10 drills)
- Asynchronous Apex: Future methods, Queueable, Batch and Schedulable Apex. (6 drills)
- Debugging: Fix real production bugs: queries and DML in loops, null checks, recursion, mixed DML, empty tests and batch state. (8 drills)
- Security & deployment: Governor limits, security and the habits that survive a production deploy. (4 drills)
Built by Firus Hanov, a Salesforce developer with more than 8 years of enterprise experience and the author of Learning Apex.
Questions people ask
What do I get for free?
The two introductory Apex modules — Write Apex and Think in classes (41 drills) — plus the quizzes. You can also read the instructions for every other drill without upgrading. No credit card needed.
What does Pro include?
Pro unlocks running and checking the full Apex drill library (103 drills), including the advanced modules: SOQL, DML, unit testing, triggers, async Apex, debugging, and security and deployment. LWC exercises are coming soon and will be announced separately.
How much is Pro?
$19 a month after a 7-day free trial. Cancel anytime.
Do I need a card for the trial?
Yes, a credit card is required to start the trial. You pay nothing for seven days. If you don't cancel before the trial ends, your card is automatically charged.
How do I cancel?
Sign in, open Pricing, and click Cancel on your plan (or use Manage billing). If you cancel during the trial, you keep Pro until day 7 and your card is never charged. If you cancel during a paid month, you keep Pro until the end of that billing period. Drills you've already passed stay on your account either way.
Do I need a Salesforce org?
Your first drills run entirely in the browser, so you can start without any setup. Once you reach drills that execute real Apex against Salesforce, you connect a free Developer org (sign up at developer.salesforce.com). Production orgs are blocked.