CodeYourFuture / CodeYourFuture/React-Module-Project
Feature Sort Table Columns
Aperta
🏕 Priority Mandatory
🐂 Size Medium
📅 Week 4
🧩 Feature
- Lingua principale
- JavaScript
- Stelle
- 1
- Fork
- 28
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.