CodeYourFuture / CodeYourFuture/React-Module-Project

Feature Sort Table Columns

Ouverte
#25 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
🏕 Priority Mandatory 🐂 Size Medium 📅 Week 4 🧩 Feature
Langage dominant
JavaScript
Étoiles
1
Forks
28
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.