Skip to main content
Brave Programmer Logo

BraveProgrammer

BraveProgrammer

HomeProjectsBlogsCoursesLessonsAbout

Site footer

BraveProgrammer

Free coding courses, practical tutorials, and real projects from BraveProgrammer. Learn web development with React, Next.js, and TypeScript.

Navigation

  • Home
  • Projects
  • Blogs
  • Courses

Resources

  • About
  • Lessons
  • Teach on BraveProgrammer

© 2026 BraveProgrammer. All rights reserved.

What is Electron? | Electron.js Desktop App Development less | BraveProgrammer
  1. Courses
  2. /
  3. Electron.js Desktop App Development

Lesson 1 of 28

·javascript

What is Electron?

8 mins

Course progress4%

What you'll learn

Keep these ideas in mind as you work through the lesson.

4 points
  • Electron bundles Chromium + Node.js into one runtime.
  • Two process types: **main** (Node) and **renderer** (Chromium).
  • Inter‑process communication (IPC) connects them.
  • Write UI with familiar web tech – HTML, CSS, JavaScript.

What is Electron?

Electron combines Chromium (the browser engine) and Node.js (the JavaScript runtime) into a single binary, letting you write desktop apps with web technologies.

  • Main process – runs Node, controls windows, menus, file‑system, etc.
  • Renderer process – a Chromium tab that displays your UI (HTML/CSS/JS).
  • Communication between them happens via IPC.

Quick hello‑world diagram

┌───────────────┐      ┌───────────────────┐
│   Main (Node) │─────►│   Renderer (HTML) │
│  BrowserWindow│◄─────│   Chromium Engine │
└───────────────┘      └───────────────────┘
Make it stickPractice what you've learned1 quiz · 5 practical tests · Optional activities from Electron.js Desktop App DevelopmentBrowse activities
Continue to lesson 2Using Node.js APIs in the Main Process