Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Grammar and punctuation errors in the salary tracker workshop

Đã đóng Phù hợp với người mới
#71,203 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Một pull request liên quan đã được merge.

  • #71207 của @Sidsmartz — đã merge

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
91/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
content

Hướng nghiên cứu

Tìm sáu tệp workshop được nêu tên: 68c28b7cc3ab8f4daf144b5e.md, 68c28c6517e7de5e85f8ebe5.md, 68c2d31a86d5672ca49d4521.md, 68c7fecda6d210cc8f1960e8.md, 68c9c3aa714bc326e026b826.md và 68caaaef4afb18aab8a684d4.md. Đọc từng gợi ý và sửa lỗi ngữ pháp hoặc dấu câu cụ thể được mô tả trong báo cáo; hoàn thành khi cả sáu gợi ý đều đúng ngữ pháp và ba câu được chỉ định kết thúc bằng dấu chấm.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

help wanted python v9 cert scope: curriculum
Describe the Issue

The salary tracker workshop contains the following grammar and punctuation errors.

  1. Step 7 (68c28b7cc3ab8f4daf144b5e.md):

    Your `Employee` class should have `level` method with a `self` parameter.

    The hint omits an article before the method name.

  2. Step 9 (68c28c6517e7de5e85f8ebe5.md):

    Your `__str__` method should return `f'{self.name}: {self.level}'`

    The hint is a complete sentence but has no ending punctuation.

  3. Step 14 (68c2d31a86d5672ca49d4521.md):

    Your `if` statement should check if either `name` and `level` are not instances of `str`.

    The hint pairs either with and, although the condition checks whether either argument is invalid. The sentence also needs singular agreement when referring to either argument.

  4. Step 17 (68c7fecda6d210cc8f1960e8.md):

    You should set `self._salary` to the value corresponding to `level` inside the `_base_salaries` dictionary

    The hint is a complete sentence but has no ending punctuation.

  5. Step 30 (68c9c3aa714bc326e026b826.md):

    You should not raise any exception when `new_level` is a key of `Employee._base_salaries`

    The hint is a complete sentence but has no ending punctuation.

  6. Step 35 (68caaaef4afb18aab8a684d4.md):

    Once you've done, remove the lines raising errors and set `charlie_brown.level` to the string `junior`.

    The opening clause uses an incomplete verb phrase: have done needs an object here.

Affected Pages

https://www.freecodecamp.org/learn/python-v9/workshop-salary-tracker/step-7

https://www.freecodecamp.org/learn/python-v9/workshop-salary-tracker/step-9

https://www.freecodecamp.org/learn/python-v9/workshop-salary-tracker/step-14

https://www.freecodecamp.org/learn/python-v9/workshop-salary-tracker/step-17

https://www.freecodecamp.org/learn/python-v9/workshop-salary-tracker/step-30

https://www.freecodecamp.org/learn/python-v9/workshop-salary-tracker/step-35

Expected behavior

The Step 7 hint should include the article required before the method name. The Step 14 hint should clearly describe either argument being invalid, using the appropriate conjunction and subject-verb agreement. The Step 35 instruction should use a complete, grammatical opening clause. The hints in Steps 9, 17, and 30 should end with periods outside any backticked code.

Ngôn ngữ chính
TypeScript
Star
458k
Fork
49.3k
Merge trung bình
23 giờ 12 phút
Pull request đã merge (30 ngày)
493

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của freeCodeCamp/freeCodeCamp

Tất cả issue của freeCodeCamp/freeCodeCamp

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.