feat(curriculum): restore seed + solution to Chinese (#40683)

* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
This commit is contained in:
Oliver Eyton-Williams
2021-01-13 03:31:00 +01:00
committed by GitHub
parent 0095583028
commit ee1e8abd87
4163 changed files with 57505 additions and 10540 deletions

View File

@ -3,14 +3,15 @@ id: bd7155d8c242eddfaeb5bd13
title: 建立配方盒
challengeType: 3
videoUrl: ''
dashedName: build-a-recipe-box
---
# --description--
**目标:** 构建一个功能类似于此的[CodePen.io](https://codepen.io)应用程序: [https](https://codepen.io/freeCodeCamp/full/dNVazZ/) **** [//codepen.io/freeCodeCamp/full/dNVazZ/](https://codepen.io) 。完成以下[用户故事](https://en.wikipedia.org/wiki/User_story) 。使用您需要的任何库或API。给它你自己的个人风格。 **用户故事:** 我可以创建具有名称和成分的食谱。 **用户故事:** 我可以看到一个索引视图,其中所有配方的名称都是可见的。 **用户故事:** 我可以点击任何这些食谱来查看它。 **用户故事:** 我可以编辑这些食谱。 **用户故事:** 我可以删除这些食谱。 **用户故事:** 我添加的所有新食谱都保存在浏览器的本地存储中。如果我刷新页面,这些配方仍然会在那里。 **提示:** 您应该在CodePen上为本地存储密钥添加前缀`_username_recipes`如果卡住,请记住使用[Read-Search-Ask](//github.com/FreeCodeCamp/freecodecamp/wiki/FreeCodeCamp-Get-Help) 。完成后单击“我已完成此挑战”按钮并包含指向CodePen的链接。您可以通过Facebook上的朋友分享您的项目反馈。
# --hints--
# --solutions--
```js
// solution required
```