FreeCodeCampChina / FreeCodeCampChina/freecodecamp.cn
任务 创建一个变量 myDecimal 并给它复制一个浮点数。 (e.g. 5.7)。这里有错别字,应该是“赋值”不是“复制”。
- Dominant language
- CSS
- Stars
- 37.8k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
Challenge [Create Decimal Numbers with JavaScript](https://www.freecodecamp.cn/challenges/create-decimal-numbers-with-javascript#?solution=var%20ourDecimal%20%3D%205.7%3B%0A%0A%2F%2F%20%E8%AF%B7%E6%8A%8A%E4%BD%A0%E7%9A%84%E4%BB%A3%E7%A0%81%E5%86%99%E5%9C%A8%E8%BF%99%E6%9D%A1%E6%B3%A8%E9%87%8A%E4%BB%A5%E4%B8%8B%0Avar%20myDecimal%20%3D%205.7%3B%0A%0A) has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
```javascript
var ourDecimal = 5.7;
// 请把你的代码写在这条注释以下
var myDecimal = 5.7;
```
Contributor guide
Research direction
Open the linked “Create Decimal Numbers with JavaScript” challenge and compare the Chinese wording in its prompt with the issue title. Replace the typo “复制” with “赋值,” then review the rendered challenge text to confirm the correction is visible and the example remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100