GithubHelp home page GithubHelp logo

freecodecampchina / curriculum-cn Goto Github PK

View Code? Open in Web Editor NEW
5.0 8.0 2.0 13.37 MB

The freeCodeCamp China curriculum and lesson editor

License: Creative Commons Attribution Share Alike 4.0 International

JavaScript 98.93% CSS 1.07%

curriculum-cn's Introduction

freeCodeCamp Social Banner

freeCodeCamp China Curriculum

Build Status npm (scoped) Pull Requests Welcome first-timers-only Friendly

本项目包含 freeCodeCamp 中文官网的所有挑战题目。

安装 (未发布)

npm i @freecodecamp/curriculum

or

yarn add @freecodecamp/curriculum

使用

import { getChallenges } from '@freecodecamp/curriculum';

// fetch an array of blocks // i.e. basic CSS, functional programming, etc. getChallenges()

挑战类别数据结构

{
  "name": "ES6",
  "order": 2,
  "time": "5 hours",
  "helpRoom": "Help",
  "challenges": [/*<challenge>*/],
  "fileName": "02-javascript-algorithms-and-data-structures/es6.json",
  "superBlock": "javascript-algorithms-and-data-structures",
  "superOrder": 2
}

挑战题目数据结构

{
  "id": "ObjectId()",
  "title": "Declare a Read-Only Variable with the const Keyword",
  "description": [
    "A Description of the challenge and what is required to pass"
  ],
  "tests": [
    {
      "text": "should return \"foo\"",
      "testString": "a stringified function using Chai asserts"
    }
  ],
  "challengeType": 1,
  "translations": {},
  "files": {
    "indexjs": {
      "key": "indexjs",
      "ext": "js",
      "name": "index",
      "contents": [
        "Initial editor seed"
      ],
      "head": [
        "A place for test set up",
        "Can be thought of as mocha's beforeEach()"
      ],
      "tail": [
        "A place for test tear down",
        "Can be thought of as mocha's afterEach()"
        ]
    }
  }
},

翻译指南

工作流程

  1. 在本项目导航栏【Issue】中选择 Translation request 模板,并填写你想要翻译的章节(以独立 JSON 文件为最小单位)。

  2. 若你想翻译多节课,请用 GFM 的 Task lists 语法列出这些课程,并在翻译完每节课后在该条目前的复选框打勾,以此来跟踪自己的翻译进度。

  3. 翻译完成后请提交 Pull request,并选择 @S1ngS1ng@wudifeixue 两位同学进行评审。

【注意】 翻译文件不要在源文件上改动,请创建新文件并以 -cn.json 作为文件名后缀。

行文规范

  1. 最高原则:信、达、雅(技术专业内容要用语规范,网络用语不要出现)

  2. 专用单词:拼写正确(参考对应技术的官网、维基百科词条)、注意大小写

  3. 标点符号

    • 中英文各自选择对应的标点符号,中英文混合句视同中文语句(如括号内中英文混用,应用中文括号)
    • 中文标点、文字间无需空格
    • 英文单标点后空一格,成对标点左标左空格、右标右空格
  4. 全角与半角字符(如中文与英文,及中文与数字)间须用空格隔开(参考盘古

curriculum-cn's People

Contributors

abhisekp avatar alistermada avatar alvinkl avatar arku avatar aryanj-nyc avatar benmcmahon100 avatar berkeleytrue avatar bkinahan avatar bouncey avatar bugron avatar darthmeme avatar dhcodes avatar dokkillo avatar erictleung avatar greenheart avatar jonathan-grah avatar josephlivengood avatar justinian336 avatar ltegman avatar manish-giri avatar natac13 avatar no-stack-dub-sack avatar patsul12 avatar quincylarson avatar raisedadead avatar saintpeter avatar scissorsneedfoodtoo avatar systimotic avatar terakilobyte avatar vtamara avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

curriculum-cn's Issues

A link links another report

Describe the bug
In this readme.md :
"翻译指南" >>"工作流程" >>"Translation request"
this link links another report.

To Reproduce
Steps to reproduce the behavior:
1.Please Change it, thanks.
2.Please delete an issues reported by me, this is link: FreeCodeCampChina/curriculum#4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.