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: bd7158d8c443eddfaeb5bdef
title: 建立一个投票应用程序
challengeType: 4
videoUrl: ''
dashedName: build-a-voting-app
---
# --description--
**目标:** 构建一个功能类似于此的完整堆栈JavaScript应用程序 [https](https://fcc-voting-arthow4n.herokuapp.com/) [//fcc-voting-arthow4n.herokuapp.com/](https://fcc-voting-arthow4n.herokuapp.com/)并将其部署到Heroku。请注意对于每个项目您应该创建一个新的GitHub存储库和一个新的Heroku项目。如果您不记得如何执行此操作请重新访问[https://freecodecamp.com/challenges/get-set-for-our-dynamic-web-application-projects](/challenges/get-set-for-our-dynamic-web-application-projects) 。以下是您应该为此项目实现的特定用户故事: **用户故事:** 作为经过身份验证的用户,我可以保留我的民意调查,然后再回来访问它们。 **用户故事:** 作为经过身份验证的用户,我可以与朋友分享我的民意调查。 **用户故事:** 作为经过身份验证的用户,我可以看到我的民意调查的汇总结果。 **用户故事:** 作为经过身份验证的用户,我可以删除我认为不再需要的民意调查。 **用户故事:** 作为经过身份验证的用户,我可以创建包含任意数量项目的民意调查。 **用户故事:** 作为未经身份验证或经过身份验证的用户,我可以查看并对每个人的民意调查进行投票。 **用户故事:** 作为未经身份验证或经过身份验证的用户,我可以以图表形式查看民意调查的结果。 这可以使用Chart.js或Google Charts实现。 **用户故事:** 作为经过身份验证的用户如果我不喜欢民意调查中的选项我可以创建一个新选项。完成这些用户故事的实现后单击“我已完成此挑战”按钮然后输入GitHub存储库和在Heroku上运行的实时应用程序的URL。您可以通过Facebook上的朋友分享您的项目反馈。
# --hints--
# --solutions--
```js
// solution required
```