CodeYourFuture / CodeYourFuture/React-Module-Project

Feature Sort Table Columns

Đang mở
#25 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
🏕 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á.

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.