Learn to code for free
Python, Java, C, Linux and web development, right in your browser.
- No card
- Nothing to install
1names = ["Tommy", "Lance", "Cortez"]2for i in range(0, len(names)):3 print(f"Hero number {i + 1}: {names[i]}")
- 6courses
- 769lessons
- 88algorithm challenges
- 40projects
How it works
Read a lesson
Short, with examples you can run.
Run it against tests
Know right away if it works.
How can we tell the computer "hey, I like pizza"? In Python we say:
1print("hey, I like pizza")
Write code in your browser
Nothing to install.
Level up
XP, levels and badges, once you have an account.
Read a lesson
Short, with examples you can run.
Python · PrintHow can we tell the computer "hey, I like pizza"? In Python we say:
1print("hey, I like pizza")Outputhey, I like pizzaWrite code in your browser
Nothing to install.
main.py▶ Run1for star in ["Sirius", "Vega", "Rigel"]:2 print(star)OutputSirius Vega RigelRun it against tests
Know right away if it works.
Accepted35 / 35- Test 1
- Test 2
- Test 3 (hidden)
- Test 4 (hidden)
- Test 5 (hidden)
- Test 6 (hidden)
- and 29 more
Level up
XP, levels and badges, once you have an account.
12-day streakActivity
44 active days in the last 3 monthsAugSepOctNovTueThuSatLessMore
Watch an algorithm, step by step
Lessons show you how an algorithm works, one move at a time, and stop to ask you what comes next.
What's inside
Courses
Python, Java, C, Linux and web development, from your first print to processes and threads, then Trees and Graphs in Python, Java and C.
Projects
Build real programs step by step: a league table, a text adventure and more, in Python, C, Java and Linux. Tests tell you when it all works.
Linux terminal
A real terminal right in the page, with missions to solve on a machine of your own.
- Python112 lessons
- Java109 lessons
- C106 lessons
- Trees and Graphs12 lessons
- Linux55 lessons
- Web Development375 lessons
Web Development
Build a website of your own, page by page, in HTML, CSS and JavaScript, and watch it change as you type.
Algorithm challenges
Challenges from easy to hard, graded against hidden tests, with your runtime next to the reference.
An AI tutor
It points you at the idea and lets you find the fix yourself, without handing you the answer.
Courses
Python, Java, C, Linux and web development, from your first print to processes and threads, then Trees and Graphs in Python, Java and C.
- Python112 lessons
- Java109 lessons
- C106 lessons
- Trees and Graphs12 lessons
- Linux55 lessons
- Web Development375 lessons
- New
Web Development
Build a website of your own, page by page, in HTML, CSS and JavaScript, and watch it change as you type.
index.htmlstyle.cssscript.js1const bayStatus = document.querySelector("#bay-status");2bayStatus.textContent = "Doors closed";34const openDoors = document.querySelector("#open-doors");56openDoors.addEventListener("click", () => {7 console.log("Doors opening");8 bayStatus.textContent = "Doors open";9});index.htmlHomeCrewDutyScheduleWelcome aboardThe station orbits the Earth every 92 minutes.
Doors open
Open the doors - New
Projects
Build real programs step by step: a league table, a text adventure and more, in Python, C, Java and Linux. Tests tell you when it all works.
League Tableeasy3 / 7- 1. Read all the lines
- 2. Skip the wrong lines
- 3. Count for every team
- 4. Sort the teams
- 5. Print the table
- 6. Add the Form column
- 7. Season facts
Algorithm challenges
Challenges from easy to hard, graded against hidden tests, with your runtime next to the reference.
- ✓Reverse a Stringeasy
- ✓Palindrome Checkeasy
- ✓Caesar Ciphermedium
- 4Two Summedium
- 5Group Anagramshard
Linux terminal
A real terminal right in the page, with missions to solve on a machine of your own.
student@sandbox:~$ pwd/home/studentstudent@sandbox:~$ lsmission.txt reports toolsstudent@sandbox:~$ ls reportsjanuary.log february.logstudent@sandbox:~$An AI tutor
It points you at the idea and lets you find the fix yourself, without handing you the answer.
Ask about a lesson, an error or an idea. The tutor helps you get there on your own.
Explain the task to meWhy doesn't my code work?Give me a nudge
Free. Open source.
- No paid plan
- No card
- BSD 3-Clause
- CC BY-SA 4.0
Questions
- Yes. There is no paid plan and no card to add, and the CyberStars code is public on GitHub, so anyone can check it.
- No. Everything runs in your browser.
- No. Read, write and run code without one. An account lifts the ten-run limit, saves your progress and opens the AI tutor.
- Yes. Every course starts from your first line of code, with short lessons and examples you can run.
- Python, if you've never programmed.
- Run the tests. They check your code and show which ones failed. Algorithm challenges also have hidden tests.
- Yes, with an account, three times a day. Try on your own first, or ask the AI tutor for a nudge.
- Yes, though a bigger screen is more comfortable.
- Yes, the site and the lessons, except Web Development and the projects, which are in English for now. Switch with EN and RO at the top.