Skip to content
Projets

rasidi3112/learn-artificial-intelligence

Voir sur GitHub

À propos

An open AI course for beginners, students and teachers: 15 modules from neural networks to LLMs, a quiz and certificate, in 15 languages. Runs as a static site.

Apprentissage et éducation

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Learn AI · Belajar AI

A free, open course on artificial intelligence: seventeen modules, a 37-question quiz and fifteen languages, in one static website.

No sign-up, no tracking, no build step. Open the link and start reading.

Open the course →  ·  Bahasa Indonesia  ·  Report an issue

License: MIT Languages Dependencies Build step


Learn AI home page: the headline 'Understand how machines learn, from first principles to real systems' next to a diagram of a single artificial neuron, set over a rotating 3D neural network

Why this exists

Most "learn AI" material falls into one of two camps. Some of it is hype that never explains how anything works. The rest is a university course that assumes calculus and a Python setup on day one.

Learn AI sits in between. It is short, plain reading that builds up from what a neuron computes to how real systems are evaluated, deployed and governed. Every module ends with the trade-offs practitioners actually argue about.

It is written for students, career switchers, teachers and anyone who wants to stop nodding along when people talk about LLMs.

What's inside

Neural network playground Train a real network in the browser: drag a neuron's weights, add layers, watch the decision boundary learn a spiral (try it)
17 modules 380 minutes of reading, from "What is AI?" to AI agents, RAG, robotics and edge AI
37-question quiz Shuffled every attempt, with instant feedback and a downloadable result
15 languages Interface, lessons and quiz, including right-to-left Arabic
Reading view Long-form typography that is comfortable for a 25-minute module
Progress tracking Points, levels, favourites and six achievements
Notes Write notes while reading, then edit or delete them later
Certificate A self-issued PDF certificate once every module is complete
Your data, your device Everything is stored in localStorage, with JSON export and import
Light and dark Follows your system theme, with a manual toggle
Works offline After one visit, the app, the quiz, the playground and every lesson page in your language open without a connection

The neural network playground training a three-layer network on a spiral: neuron maps, weights and the decision boundary update live

Reading view of module 03, Deep Learning and Neural Networks, with a drop cap and numbered sections Learning dashboard with progress stats above a numbered list of modules
Quiz question about why accuracy misleads on a fraud dataset with few positive cases, with four lettered options The home page in dark mode

Mobile view in Arabic, right-to-left, dark mode    Mobile view of the home page in Japanese

Curriculum

# Module Level Time
01 What is Artificial Intelligence? Beginner 15 min
02 Machine Learning Basics Intermediate 20 min
03 Deep Learning & Neural Networks Advanced 25 min
04 Natural Language Processing Intermediate 18 min
05 Computer Vision Advanced 22 min
06 Basic Prompt Engineering Beginner 15 min
07 Ethics and Bias in AI Intermediate 20 min
08 Career Guide in AI Beginner 15 min
09 Reinforcement Learning Advanced 28 min
10 Generative AI & Large Language Models Intermediate 26 min
11 AI in Healthcare Intermediate 25 min
12 AI for Business & Industry Intermediate 24 min
13 Robotics & AI Advanced 30 min
14 Edge AI & IoT Advanced 27 min
15 AutoML & No-Code AI Beginner 20 min
16 AI Agents: Models That Act Intermediate 25 min
17 RAG & LLM Application Evaluation Intermediate 25 min

Every module also has its own page in each language, readable without JavaScript: browse all modules.

Languages: Bahasa Indonesia · English · 中文 · Español · العربية · हिन्दी · Português · Français · Deutsch · 日本語 · 한국어 · Русский · Türkçe · Italiano · Tiếng Việt

Run it locally

There is nothing to install. It's plain HTML, CSS and JavaScript.

git clone https://github.com/rasidi3112/learn-artificial-intelligence.git
cd learn-artificial-intelligence
python3 -m http.server 8000

Then open http://localhost:8000. Opening index.html directly also works.

To deploy, publish the folder as-is to GitHub Pages or Netlify. netlify.toml is included, and ./prepare-drop.sh packages a clean zip for Netlify Drop.

Use it in a classroom

  • No accounts: students open a link and start. Nothing to provision and nothing to leak.
  • Mixed-language classes: each student can pick their own language on the same page.
  • Homework evidence: students can download their quiz result or export their progress as a JSON file.
  • Offline-friendly: it is a static folder, so it runs on a school intranet or a laptop. After one visit with a connection, the course and its fonts keep working offline. PDF export works offline once it has been used online.

How it's built

Stack Vanilla HTML, CSS and JavaScript. No framework, bundler or runtime dependencies
Lesson pages scripts/build-pages.mjs renders one static page per module and language (225 pages), with hreflang, JSON-LD and a sitemap. The output is committed, so hosting needs no build step
Type Fraunces for reading and headlines, Geist for the interface, Geist Mono for metadata
Storage localStorage under the key belajarAI_v2
Security Strict Content Security Policy, with all user input escaped before rendering
Accessibility Keyboard-navigable tabs and quiz, focus-trapped dialogs, live regions, reduced-motion support
PDF html2pdf.js, loaded from cdnjs only when you download a certificate
Offline sw.js serves the app shell cache-first from a cache named after a hash of its files, so each deploy replaces it. Pages under learn/ are network-first with a cached fallback, and Google Fonts and html2pdf are cached on first use
├── index.html               Page structure
├── styles.css               Design system: tokens, layout, light/dark, RTL
├── app.js                   App logic, Indonesian source content, quiz
├── content-translations.js  Lesson text in 14 languages
├── quiz-translations.js     Quiz questions in 14 languages
├── i18n-extra.js            Interface strings and translation fixes
├── lessons-agents-rag.js    Modules 16 and 17 with all translations and quiz questions
├── sw.js                    Service worker for offline use
├── learn/                   Generated static page per module and language
├── scripts/build-pages.mjs  Generator for learn/, sitemap.xml, robots.txt and the cache list in sw.js
├── tests/                   node:test checks for the generated pages and the service worker
└── docs/screenshots/        Images used in this README

Contributing

Contributions are welcome. These help the most:

  • Review a translation in a language you speak natively. Lesson text is in content-translations.js, and the quiz is in quiz-translations.js.
  • Add or improve a module. Accurate, concrete examples beat long ones.
  • Fix a bug. Include the steps to reproduce it in your pull request.

If you change lesson text or any file the app loads (scripts, styles, the playground), regenerate the static pages and the service worker's cache version, then run the checks (Node 20 or newer, nothing to install):

npm run build:pages
npm test

CI runs npm test on every pull request and fails if learn/ or sw.js is out of date.

Fork the repo, create a branch, and open a pull request with a short note on what you changed and why.

Roadmap

  • Daily learning-streak tracking
  • Offline mode with a service worker
  • Shareable result card after the quiz
  • More modules: AI security, data engineering for ML, evaluation of LLM apps
  • Optional sync across devices

License

MIT. Use it, translate it, teach with it.

Made by Ahmad Rasidi. If this helped you understand AI a little better, a ⭐ helps other learners find it.

Explorer des projets similaires

Chargement…