2020-08-13 12:00:20 +02:00
|
|
|
|
---
|
|
|
|
|
id: 5e44413e903586ffb414c94e
|
2021-07-02 18:45:29 +05:30
|
|
|
|
title: 预算应用
|
2020-08-13 12:00:20 +02:00
|
|
|
|
challengeType: 10
|
2021-07-02 18:45:29 +05:30
|
|
|
|
forumTopicId: 462361
|
2021-01-13 03:31:00 +01:00
|
|
|
|
dashedName: budget-app
|
2020-08-13 12:00:20 +02:00
|
|
|
|
---
|
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
|
# --description--
|
|
|
|
|
|
2021-07-02 18:45:29 +05:30
|
|
|
|
创建一个 Category(类别) 类,该类可用于创建不同的预算类别。
|
2020-08-13 12:00:20 +02:00
|
|
|
|
|
2021-07-02 18:45:29 +05:30
|
|
|
|
你可以[在 Replit 上查看整个项目的具体描述和初始代码](https://replit.com/github/freeCodeCamp/boilerplate-budget-app)。
|
2020-08-13 12:00:20 +02:00
|
|
|
|
|
2021-07-02 18:45:29 +05:30
|
|
|
|
访问此链接后,fork 这个项目。 当你根据 “README.md” 中的说明完成了项目,请在下方提交你的项目链接。
|
2020-08-13 12:00:20 +02:00
|
|
|
|
|
2021-07-02 18:45:29 +05:30
|
|
|
|
我们仍在开发 Python 课程的交互式教学部分。 目前,freeCodeCamp.org YouTube 频道上的一些视频将会教授你这个项目需要的所有技能。
|
2020-12-16 00:37:30 -07:00
|
|
|
|
|
2020-08-13 12:00:20 +02:00
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
2021-07-02 18:45:29 +05:30
|
|
|
|
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody 视频课程</a>(14 小时)
|
2020-08-13 12:00:20 +02:00
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2021-07-02 18:45:29 +05:30
|
|
|
|
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python 视频课程</a>(2 小时)
|
2020-08-13 12:00:20 +02:00
|
|
|
|
</li>
|
2021-02-06 04:42:36 +00:00
|
|
|
|
</ul>
|
2020-08-13 12:00:20 +02:00
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
|
# --hints--
|
2020-08-13 12:00:20 +02:00
|
|
|
|
|
2021-07-02 18:45:29 +05:30
|
|
|
|
它应该创建一个 Category 类并通过所有测试。
|
2020-08-13 12:00:20 +02:00
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
|
```js
|
2020-08-13 12:00:20 +02:00
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
|
# --solutions--
|
2020-08-13 12:00:20 +02:00
|
|
|
|
|
2021-01-13 03:31:00 +01:00
|
|
|
|
```js
|
|
|
|
|
/**
|
|
|
|
|
Backend challenges don't need solutions,
|
|
|
|
|
because they would need to be tested against a full working project.
|
|
|
|
|
Please check our contributing guidelines to learn more.
|
|
|
|
|
*/
|
|
|
|
|
```
|