BaseCodeByte

Interactive learning

Code Notebook

Choose a programming notebook and start learning with short explanations, editable examples and hands-on practice. No account required.

Py

Python

11 tracks

Python fundamentals, automation, APIs, data structures, file handling and real project workflows.

Variables and data types
Control flow
Functions and modules
Files and automation
def greet(name):
    return f"Hello, {name}"

print(greet("Ada"))
Beginner
python
JS

JavaScript

7 tracks

Browser-focused JavaScript covering DOM events, async workflows, APIs and interactive UI projects.

Variables and functions
Objects and arrays
DOM manipulation
Async JavaScript
button.addEventListener("click", () => {
  count += 1;
  label.textContent = count;
});
Beginner
javascript
TS

TypeScript

11 tracks

TypeScript lessons for typing data models, UI state, API payloads and reusable application functions.

Types and interfaces
Generics
Classes
API typing
type User = { id: number; name: string };

function label(user: User) {
  return `${user.id}: ${user.name}`;
Beginner
typescript
Rs

Rust

9 tracks

Rust fundamentals through ownership, borrowing, enums, pattern matching and systems programming.

Ownership
Borrowing
Traits
Error handling
fn label(name: &str) -> String {
    format!("user: {name}")
}
Beginner
rust
Go

Go

11 tracks

Go lessons focused on simple syntax, packages, interfaces, concurrency and HTTP service patterns.

Functions
Interfaces
Goroutines
HTTP services
func greet(name string) string {
    return "Hello, " + name
}
Beginner
go
Ja

Java

11 tracks

Java fundamentals from classes and methods through collections, exceptions, streams and backend foundations.

Classes and methods
Collections
Exceptions
Streams
record User(String name) {}

var names = users.stream()
    .map(User::name)
Beginner
java
C++

C++

1 tracks

Interactive C++ notebook with live code execution, memory, pointers, STL and project exercises.

Pointers
Classes
STL
Algorithms
#include <iostream>
#include <vector>

int main() {
Beginner
cpp
C

C

10 tracks

C fundamentals from variables and functions through pointers, memory, files, build tools and systems basics.

Memory management
Pointers
Structs
Build tools
#include <stdio.h>

int main(void) {
  int score = 21;
Beginner
c
C#

C#

1 tracks

C# and .NET lessons for classes, collections, LINQ, async workflows, testing and web API basics.

Classes
Collections
LINQ
Async APIs
var active = users
    .Where(user => user.Enabled)
    .Select(user => user.Name);
Beginner
csharp
Kt

Kotlin

5 tracks

Kotlin language, Android and backend practice covering null safety, coroutines, APIs and architecture.

Null safety
Data classes
Coroutines
API clients
data class Course(val title: String)

val title = course?.title ?: "Untitled"
Beginner
kotlin
Sw

Swift

11 tracks

Swift lessons for constants, optionals, collections, protocols, errors, concurrency and app-minded projects.

Optionals
Functions
Protocols
Concurrency
func greet(_ name: String?) -> String {
    "Hello, \(name ?? "friend")"
}
Beginner
swift
SQL

SQL

7 tracks

SQL lessons for querying, joins, aggregates, schema design, transactions and reporting workflows.

SELECT queries
Joins
Aggregates
Transactions
SELECT name, COUNT(*) AS orders
FROM customers
JOIN orders USING (customer_id)
GROUP BY name;
Beginner
sql