explaingit

javascript-tutorial/zh.javascript.info

10,739HTMLAudience · developerComplexity · 1/5Setup · easy

TLDR

The Chinese translation of The Modern JavaScript Tutorial, a free, community-maintained course covering JavaScript from basics to advanced topics, published at zh.javascript.info and recommended by the React docs.

Mindmap

mindmap
  root((zh.javascript.info))
    What it is
      Chinese JS tutorial
      Free open source
      ECMAScript based
    Topics covered
      JS fundamentals
      Browser APIs
      Async programming
    Contributing
      Claim chapters
      Pull requests
      Glossary alignment
    Tech
      HTML Markdown
      Node.js preview
      GitHub workflow
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Read a complete Chinese-language JavaScript tutorial covering fundamentals, browser APIs, and async programming for free.

USE CASE 2

Contribute a chapter translation or fix a terminology inconsistency by submitting a pull request.

USE CASE 3

Run a local preview of the tutorial site to check your translation formatting before submitting.

Tech stack

HTMLMarkdownNode.js

Getting it running

Difficulty · easy Time to first run · 30min

Run a local Node.js dev server to preview translations before submitting, contributor workflow is in the wiki.

In plain English

This repository holds the Chinese translation of The Modern JavaScript Tutorial, a comprehensive free JavaScript learning resource. The tutorial covers JavaScript from the basics through advanced topics, based on the current ECMAScript specification. The translated site is published at zh.javascript.info and is recommended alongside MDN Web Docs by the React official documentation as a core JavaScript learning resource. The tutorial is community-maintained. Contributors select chapters to translate, claim them in a shared tracking issue to avoid duplication, and submit pull requests when their translations are ready. A glossary in the repository's wiki maps English technical terms to agreed Chinese translations, keeping language consistent across chapters. The README covers punctuation style, how to handle terms that should remain in English, how to translate code comments without changing variable or class names, and how to update links to point at translated versions of external resources where they exist. The project stays synchronized with the English source. When the English tutorial is updated, contributors merge those changes and keep the Chinese version current. A local development server is available so translators can preview their work in a browser before submitting. Full contributor instructions and the process for becoming a maintainer are in the repository's wiki. The README is written in Chinese and describes the translation workflow in detail. The tutorial itself spans chapters on language fundamentals, browser APIs, asynchronous programming, and more. Contributors who complete translations are credited on the About page of the live site at zh.javascript.info.

Copy-paste prompts

Prompt 1
I want to translate a chapter of the Modern JavaScript Tutorial into Chinese. How do I claim a chapter, set up the local preview, and submit a pull request?
Prompt 2
What does the zh.javascript.info glossary say I should use as the Chinese term for 'closure', 'callback', and 'prototype'?
Prompt 3
Should I translate code comments in the JavaScript tutorial, and am I allowed to rename variable or class names?
Prompt 4
Walk me through running the local development server for zh.javascript.info so I can preview my translation in a browser.
Open on GitHub → Explain another repo

← javascript-tutorial on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.