AI in JavaScript

Call real AI APIs from Node.js. You'll learn how LLMs work, make your first OpenAI call, implement streaming, use function calling, build embeddings, and finish with a RAG endpoint. Follow the ideas in small steps: first understand the concept, then practice it in the browser, and finally connect it to a realistic coding problem. Each lesson builds on the previous one so the track becomes a skill you can explain and use, not just a list of terms.

180 interactive lessons across 6 units · 36+ hours · intermediate level

What you will learn

Build practical skills in OpenAI, LLM APIs, AI, Streaming through browser-based coding exercises, guided feedback, unit quizzes, a debugging challenge, and a final project.

Course access

Unit 1, including its first 30 lessons and unit quiz, is free. The remaining 5 units require a CodeLearning365 Pro subscription.

View Pro access options

AI in JavaScript curriculum

The curriculum progresses from foundations to applied practice and mastery. Representative topics from every unit are listed below.

Unit 1: Foundations

30 lessons covering topics such as How LLM APIs Work, Your First OpenAI Call, System Prompts & Personas, Multi-turn Conversations, Temperature & Model Parameters.

  • How LLM APIs Work
  • Your First OpenAI Call
  • System Prompts & Personas
  • Multi-turn Conversations
  • Temperature & Model Parameters

Unit 2: Core Concepts

30 lessons covering topics such as Power Up 031: Summarization Patterns, Power Up 032: Reasoning & Prompting Strategies, Power Up 033: Error Handling & Retries, Power Up 034: Content Moderation & Safety, Power Up 035: Tokens, Context Windows & Cost.

  • Power Up 031: Summarization Patterns
  • Power Up 032: Reasoning & Prompting Strategies
  • Power Up 033: Error Handling & Retries
  • Power Up 034: Content Moderation & Safety
  • Power Up 035: Tokens, Context Windows & Cost

Unit 3: Building Skills

30 lessons covering topics such as Power Up 061: How LLM APIs Work, Power Up 062: Your First OpenAI Call, Power Up 063: System Prompts & Personas, Power Up 064: Multi-turn Conversations, Power Up 065: Temperature & Model Parameters.

  • Power Up 061: How LLM APIs Work
  • Power Up 062: Your First OpenAI Call
  • Power Up 063: System Prompts & Personas
  • Power Up 064: Multi-turn Conversations
  • Power Up 065: Temperature & Model Parameters

Unit 4: Applied Practice

30 lessons covering topics such as Power Up 091: Summarization Patterns, Power Up 092: Reasoning & Prompting Strategies, Power Up 093: Error Handling & Retries, Power Up 094: Content Moderation & Safety, Power Up 095: Tokens, Context Windows & Cost.

  • Power Up 091: Summarization Patterns
  • Power Up 092: Reasoning & Prompting Strategies
  • Power Up 093: Error Handling & Retries
  • Power Up 094: Content Moderation & Safety
  • Power Up 095: Tokens, Context Windows & Cost

Unit 5: Projects

30 lessons covering topics such as Power Up 121: How LLM APIs Work, Power Up 122: Your First OpenAI Call, Power Up 123: System Prompts & Personas, Power Up 124: Multi-turn Conversations, Power Up 125: Temperature & Model Parameters.

  • Power Up 121: How LLM APIs Work
  • Power Up 122: Your First OpenAI Call
  • Power Up 123: System Prompts & Personas
  • Power Up 124: Multi-turn Conversations
  • Power Up 125: Temperature & Model Parameters

Unit 6: Mastery

30 lessons covering topics such as Power Up 151: Summarization Patterns, Power Up 152: Reasoning & Prompting Strategies, Power Up 153: Error Handling & Retries, Power Up 154: Content Moderation & Safety, Power Up 155: Tokens, Context Windows & Cost.

  • Power Up 151: Summarization Patterns
  • Power Up 152: Reasoning & Prompting Strategies
  • Power Up 153: Error Handling & Retries
  • Power Up 154: Content Moderation & Safety
  • Power Up 155: Tokens, Context Windows & Cost

Compare all coding tracks