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
Web basics
How the web works: browsers, servers, URLs and HTTP
What happens when you type a web address: URLs, DNS, servers, HTTP requests and responses, status codes and HTTPS, explained for beginners.
Beginner · 12 minWhat is an API? A beginner's guide with examples
APIs explained for beginners: what an API is, endpoints, HTTP methods, JSON, status codes and API keys, with a working example of reading an API response in JavaScript.
HTML
Build your first web page with HTML
A beginner tutorial: write a real HTML page with headings, paragraphs, links, images and a list, and learn what each tag does.
Beginner · 12 minHTML forms: inputs, labels and validation
Build accessible HTML forms with labels, text inputs, email fields, checkboxes, radio buttons, select menus and built-in validation.
Beginner · 12 minWeb accessibility basics: build pages everyone can use
Practical accessibility for beginners: semantic HTML, alt text, colour contrast, keyboard navigation, focus styles, labels and testing with a screen reader.
Beginner · 11 minHTML page structure: header, nav, main, article and footer
Structure pages with semantic HTML: when to use header, nav, main, section, article, aside and footer, how headings form an outline, and why it helps accessibility and search engines.
CSS
Lay out a page with CSS Flexbox and Grid
Learn how CSS Flexbox and Grid work with clear examples: a navigation bar, a card row that wraps, and a responsive page layout.
Beginner · 12 minCSS selectors and the box model
Understand CSS selectors, classes, specificity and the box model (content, padding, border, margin) so your styles do what you expect.
Beginner · 12 minResponsive web design: pages that work on every screen
Make websites that work on phones, tablets and computers using the viewport tag, flexible widths, responsive images, media queries and clamp().
Beginner · 11 minCSS transitions and animations, done kindly
Add motion with CSS: smooth hover effects with transition, keyframe animations, timing functions, performance tips and respecting the prefers-reduced-motion setting.
JavaScript
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 minWorking 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 minProject: 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 minFetching 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 minProject: 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 minChange 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 minJavaScript 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
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 minPython 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 minWorking 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 minReading 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 minClasses 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 minData 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 minPython 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 minWorking 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
SQL basics: query a database with SELECT, WHERE and JOIN
Learn SQL with SQLite examples: create a table, insert rows, filter with WHERE, sort, count with GROUP BY and combine tables with JOIN.
Intermediate · 14 minSQL joins and GROUP BY: combine and summarise tables
Go beyond SELECT: link tables with INNER JOIN and LEFT JOIN, summarise rows with COUNT, AVG and GROUP BY, and filter groups with HAVING, using a small school database.
Algorithms
Computer science
Binary numbers: how computers count
Understand binary: why computers use 0 and 1, how to convert between binary and decimal, bits and bytes, and how text is stored, with Python to check your answers.
Intermediate · 13 minRecursion explained: functions that call themselves
Learn recursion step by step: base cases, recursive cases, the call stack, factorial, sums of lists, folder trees and when to use a loop instead.
Debugging
Tools
Git basics: version control for beginners
Learn what version control is and the everyday Git workflow: init, status, add, commit, log, branches, merging and working with GitHub-style remotes.
Beginner · 12 minCommand line basics for beginners
Learn the terminal: move between folders, list, create, copy, move and delete files, read file contents, and run programs, with the matching Windows PowerShell commands.
Intermediate · 13 minGit branches and merging, step by step
Work safely on new features with Git branches: create and switch branches, merge them back, understand and resolve merge conflicts, and clean up afterwards.
Cybersecurity
Staying safe online: passwords, phishing and two-step sign-in
Practical online safety for students: build strong passphrases, use a password manager, turn on two-step verification, spot phishing messages and know what to do if an account is hacked.
Beginner · 15–25 min · ChallengeEditing challenge: find the data leak
A feedback form secretly sends what visitors type to an outside server. Edit the code to stop it, with a live Security Monitor.