Learn Solidity
A free, interactive online Solidity course. You write and run a real smart contract on every lesson, with AI hints when your output doesn't match, and a free certificate when you finish the section.
1,000+ codders enrolled
53 lessons51 challenges209 quiz questions
- Beginner friendly
AI-assisted coding help
Hands-on interactive lessons
Audio narration on every lesson
Quizzes to test your knowledge
Free certificate of completion
Syllabus
Section 1
Fundamentals
Start sectionStartExpandCollapseStart with no programming experience and build a working foundation in Solidity: variables, decisions, functions, state, loops, arrays, mappings, structs, enums, guards and events. Practice every concept with exercises, mastery challenges and chapter quizzes.Introduction
4 lessons324Variables and Types
6 lessons1125Arithmetic
5 lessons920Decisions
5 lessons920Functions
5 lessons920Contract State
5 lessons920Loops
5 lessons920Arrays
5 lessons920Data Models
5 lessons920Contract Rules
5 lessons720Final Challenges
3 lessons3
Learn by Doing
Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.
Build Your Coding Streak
Stay consistent and watch your progress grow! Track your daily coding habit, protect your streak with freeze days, and earn rewards for showing up every day.
12 days streak
Return tomorrow to keep your streak!
January 2026
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
21
22
23
24
25
26
27
28
29
30
Double or Nothing
Day 5 of 7
Streak Freeze
2 left
Code Anywhere, Anytime
Take your coding journey on the go! No setup, no downloads - just open and start coding. Available on iOS, Android and Web with 4.9 star ratings.
You're Not Alone in This
Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!
Every way to learn
Read, listen, test yourself, ask the AI, or look up anything you've already covered. Every lesson meets you where you are.
A variable is a named container that stores a value you can reference later in your program.
In Python, you create one by writing the name, an equals sign, then the value you want to store.
The value can change over time - reassigning the name simply points it to a new value.
Prove Your Skills
Earn certificates for every course you complete. Add them to your LinkedIn profile and resume to showcase your coding expertise to employers.
Why learn Solidity with Coddy
- Write and run real Solidity in your browser. No Remix, Hardhat, Foundry, MetaMask, or testnet - each lesson compiles your contract with solc and executes it on an EVM server-side, then shows the output, events, and any compiler errors instantly.
- Solidity as smart contract developers actually use it: contract structure,
uintandintsizes,boolandstring, arithmetic with integer division and remainders,if/elsechains, functions with parameters and return values,pureandview, state variables and public getters, constants,forandwhileloops, fixed and dynamic arrays in memory and storage,address,mapping,struct,enum,require,revert, events, and visibility. - AI hints walk you through the parts of Solidity that trip everyone up - memory vs. storage, why
uintcan't go negative, integer division that drops the remainder, when a function should bepure,view, or neither, and whatrequireactually does to a transaction - so you build the right mental model of the EVM from lesson one. - Build real contracts, not just exercises - a profile card, a shared counter, an inventory tracker, a score board, and a reservation summary. Each project ships with tests that run against your compiled contract, so you see it behave end-to-end.
Frequently asked questions about learning Solidity
What is Solidity used for?
Is Solidity hard to learn?
require undoes the whole transaction. The course teaches those ideas one lesson at a time, starting with variables and arithmetic and building up to mappings, structs, events, and guards.