Simple Coding Tutorials

Learn programming with easy, step-by-step lessons. No complex theory - just practical examples you can try right now!

🟨
JavaScript
Start with the world's most popular programming language. Perfect for websites and apps!
  • 1
    Your First JavaScript Program
  • 2
    Working with Variables
  • 3
    Simple Calculator

Lesson 1: Your First JavaScript Program

Let's start with the classic "Hello, World!" program:

console.log("Hello, World!");

This single line prints text to the screen. That's it! You've written your first program.

Quick Tip: console.log() is like talking to the computer - it shows your message on the screen!
Try It Now

Lesson 2: Working with Variables

Variables store information. Think of them like labeled boxes:

let name = "John"; let age = 25; console.log("Hi, I'm " + name + " and I'm " + age + " years old");

This creates two boxes: one for a name, one for age, then shows both!

Quick Tip: Change "John" to your name and see what happens!
Try It Now

Lesson 3: Simple Calculator

Let's make a calculator that adds two numbers:

let firstNumber = 10; let secondNumber = 5; let result = firstNumber + secondNumber; console.log(firstNumber + " + " + secondNumber + " = " + result);

You can change the numbers and try different operations like -, *, or /

Quick Tip: Try changing + to - or * to see different math operations!
Try It Now
🐍
Python
Easy to read, powerful to use. Python is perfect for beginners and used by NASA, Google, and more!
  • 1
    Print Your First Message
  • 2
    Store Information in Variables
  • 3
    Make Decisions with If/Else

Lesson 1: Print Your First Message

Python makes it super simple to show text:

print("Welcome to Python programming!")

Just one line! Python is famous for being easy to read and write.

Quick Tip: Don't forget the quotes around your text - Python needs them!
Try It Now

Lesson 2: Store Information in Variables

Variables in Python are super simple - no special words needed:

favorite_color = "blue" lucky_number = 7 print(f"My favorite color is {favorite_color}") print(f"My lucky number is {lucky_number}")

Python uses f-strings to easily put variables inside text!

Quick Tip: The f before the quotes makes it an f-string - it's like a template!
Try It Now

Lesson 3: Make Decisions with If/Else

Let your program make choices based on conditions:

temperature = 75 if temperature > 80: print("It's hot outside! 🌞") elif temperature > 60: print("Nice weather today! 😊") else: print("Better wear a jacket! 🧥")

The program checks the temperature and gives different advice!

Quick Tip: Try changing the temperature number to see different messages!
Try It Now
🌐
HTML
Build websites! HTML is the foundation of every webpage you've ever seen.
  • 1
    Create Your First Webpage
  • 2
    Add Headings and Text
  • 3
    Make a Simple About Me Page

Lesson 1: Create Your First Webpage

Every webpage starts with basic HTML structure:

<html> <body> <h1>Welcome to My Website!</h1> <p>This is my first webpage.</p> </body> </html>

HTML uses tags (words in angle brackets) to structure content!

Quick Tip: Tags come in pairs - an opening tag and a closing tag with a /
Try It Now

Lesson 2: Add Headings and Text

Use different heading sizes and paragraphs:

<html> <body> <h1>Main Title</h1> <h2>Smaller Heading</h2> <h3>Even Smaller</h3> <p>This is a paragraph with normal text.</p> <p>This is another paragraph!</p> </body> </html>

HTML has 6 heading sizes (h1 to h6) and unlimited paragraphs!

Quick Tip: h1 is biggest, h6 is smallest. Use them to organize your content!
Try It Now

Lesson 3: Make a Simple About Me Page

Create a personal webpage about yourself:

<html> <body style="font-family: Arial; padding: 20px;"> <h1>About Me</h1> <h2>Hi! I'm John</h2> <p>Welcome to my personal webpage!</p> <h3>My Hobbies</h3> <ul> <li>Playing guitar</li> <li>Reading books</li> <li>Learning to code</li> </ul> <p>Thanks for visiting!</p> </body> </html>

This creates a complete "About Me" page with styling and a list!

Quick Tip: Replace "John" with your name and change the hobbies to yours!
Try It Now
🔷
PHP
Power websites with server-side programming. PHP runs on millions of websites including Facebook!
  • 1
    Your First PHP Script
  • 2
    Working with Variables
  • 3
    Simple Web Form

Lesson 1: Your First PHP Script

PHP code goes between special tags and can mix with HTML:

<?php echo "Hello from PHP!"; echo "<br>"; echo "Today's date is: " . date('Y-m-d'); ?>

PHP starts with <?php and uses echo to display text. It can show the current date!

Quick Tip: The . (dot) in PHP connects text together, like + in other languages!
Try It Now

Lesson 2: Working with Variables

PHP variables start with $ sign and are very flexible:

<?php $name = "Sarah"; $age = 28; $city = "New York"; echo "Hi! My name is $name<br>"; echo "I am $age years old<br>"; echo "I live in $city<br>"; $years_in_10 = $age + 10; echo "In 10 years, I'll be $years_in_10!"; ?>

PHP can put variables directly into text and do math easily!

Quick Tip: You can put PHP variables right inside quotes - super convenient!
Try It Now

Lesson 3: Simple Web Form

Create a simple form that responds when submitted:

<html> <body> <h2>Tell Me About Yourself</h2> <form method="post"> Name: <input type="text" name="username"><br><br> <input type="submit" value="Submit"> </form> <?php if(isset($_POST['username'])) { $user = $_POST['username']; echo "<h3>Hello, $user! Nice to meet you!</h3>"; } ?> </body> </html>

This creates a form that greets the user by name when they submit it!

Quick Tip: PHP can receive data from web forms using $_POST - very powerful!
Try It Now
🟦
C#
Microsoft's powerful language for enterprise apps, games, and web development. Used at thousands of companies worldwide.
  • 1
    Your First C# Program

Lesson 1: Your First C# Program

C# is Microsoft's modern programming language. Let's start with a simple "Hello World":

Console.WriteLine("Hello from C#!"); Console.WriteLine("Welcome to enterprise development!");

Console.WriteLine() prints text and moves to the next line automatically!

Quick Tip: C# is perfect for building Windows apps, web services, and games!
Try It Now
🗃️
SQL
Master databases and data analysis. Essential skill for any developer - SQL is used everywhere!
  • 1
    Your First SQL Query

Lesson 1: Your First SQL Query

SQL lets you talk to databases. Let's get information from our sample database:

SELECT name, age FROM users; SELECT * FROM orders WHERE amount > 500;

This shows all users and their ages, then shows expensive orders over $500!

Quick Tip: Our demo database has users and orders tables ready to explore!
Try It Now
💎
Ruby
Beautiful, readable code that's fun to write. Ruby powers GitHub, Shopify, and thousands of web apps.
  • 1
    Hello Ruby World

Lesson 1: Hello Ruby World

Ruby is designed to be fun and productive. Let's start with some friendly code:

puts "Hello, Ruby world!" puts "Ruby makes programming enjoyable!"

Ruby's puts command is friendly and easy to remember!

Quick Tip: Ruby was created to make programmers happy - and it shows!
Try It Now
🦉
Swift
Build iPhone and iPad apps with Apple's modern language. Clean, fast, and perfect for mobile development.
  • 1
    Swift Playground

Lesson 1: Swift Playground

Swift is Apple's language for iOS development. Let's try some Swift code:

print("Hello from Swift!") print("Building the future of mobile apps!")

Swift's print() function displays messages in your app or playground!

Quick Tip: Swift is used to build all your favorite iPhone and iPad apps!
Try It Now
🤖
Kotlin
Google's preferred language for Android apps. Modern, safe, and 100% compatible with Java.
  • 1
    Kotlin Basics

Lesson 1: Kotlin Basics

Kotlin is Google's modern language for Android development:

println("Hello from Kotlin!") println("Android development made easy!")

Kotlin's println() function is simple and powerful for Android apps!

Quick Tip: Kotlin is now Google's preferred language for all new Android apps!
Try It Now

Ready to Start Coding?

Pick any tutorial above and click "Try It Now" to start learning!

Open Code Editor