CodeYourFuture / CodeYourFuture/React-Module-Project
Feature Sort Table Columns
Đang mở
🏕 Priority Mandatory
🐂 Size Medium
📅 Week 4
🧩 Feature
- Ngôn ngữ chính
- JavaScript
- Star
- 1
- Fork
- 28
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**Instructions:**
Add an `onClick` handler to the columns of the result table, which sorts the results ascending (A -> Z). Clicking the column again will reverse the sort order to descending (Z -> A).
**Hint:** Try using the `.sort()` method with a callback to do custom sorting.
**Test:**
- [ ] Each column in the table should be clickable to sort results in ascending or descending order.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.