Unays / Learn

UNAYS LEARN · FREE

Free coding tutorials

39 step-by-step guides for students and beginners. Each one explains the ideas, shows working examples and ends with a small task to try in Unays Code, the free in-browser editor. No account needed.

Mësime në shqip: fillo nga e para

New to coding? Start here

  1. 1How the web works: browsers, servers, URLs and HTTP
  2. 2Build your first web page with HTML
  3. 3Lay out a page with CSS Flexbox and Grid
  4. 4JavaScript basics: variables, functions and events
  5. 5Your first Python program: input, loops and lists

Web basics

HTML

CSS

JavaScript

Beginner · 15 min

JavaScript basics: variables, functions and events

Start programming with JavaScript: store values in variables, write functions, make decisions with if, and respond to button clicks on a web page.

Beginner to intermediate · 13 min

Working with arrays in JavaScript: map, filter and reduce

Learn the most useful JavaScript array methods with examples: push, includes, find, map, filter, reduce and sort, using a list of student scores.

Beginner to intermediate · 18 min

Project: build a to-do list with JavaScript

A step-by-step JavaScript project: build a to-do list that adds, completes and deletes tasks and remembers them with localStorage.

Intermediate · 14 min

Fetching data with JavaScript: fetch, JSON and async/await

Load data from an API with fetch(), read JSON, use async and await, handle errors and show the results on a web page.

Beginner · 15 min

Project: a number guessing game in JavaScript

Build a complete number guessing game with JavaScript: random numbers, user input, comparisons, a guess counter, input checks and a play-again button.

Beginner · 13 min

Change a web page with JavaScript: the DOM explained

Learn the DOM step by step: select elements, change text and classes, create and remove elements, handle form input and use event delegation, with a complete example.

Intermediate · 13 min

JavaScript async and await: promises explained simply

Understand asynchronous JavaScript: why code waits, what a promise is, how async and await work, handling errors with try and catch, and running tasks in parallel with Promise.all.

TypeScript

React

Node.js

Python

Beginner · 15 min

Your first Python program: input, loops and lists

Write your first Python programs: print output, read input, use variables, if statements, loops and lists, and build a small quiz game.

Beginner to intermediate · 14 min

Python functions and dictionaries

Write reusable Python functions with parameters, return values and default arguments, and store data in dictionaries. Includes a word-counting project.

Beginner · 12 min

Working with text in Python: strings and string methods

Learn Python strings: indexing, slicing, f-strings, upper and lower case, strip, split, join, replace and find, with practical examples.

Beginner to intermediate · 13 min

Reading and writing files in Python, including CSV

Save and load data in Python: open files with with, read lines, write text, and work with CSV spreadsheets using the csv module.

Intermediate · 14 min

Classes and objects in Python

An introduction to object-oriented programming in Python: classes, __init__, attributes, methods, __str__ and a simple bank account example.

Beginner · 14 min

Data analysis with plain Python: averages, counts and charts

Analyse a small dataset with plain Python: store records as dictionaries, filter and sort them, compute averages and medians, count categories and draw a text bar chart.

Beginner · 11 min

Python error handling: try, except and raise

Handle errors in Python properly: catch specific exceptions with try and except, use else and finally, raise your own errors with clear messages, and know when not to catch.

Beginner · 11 min

Working with JSON in Python

Read and write JSON in Python with the built-in json module: convert between JSON text and dictionaries, save and load files, handle missing keys and invalid JSON, and pretty-print data.

SQL

Algorithms

Computer science

Debugging

Tools

Cybersecurity

AI and learning