Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

must have 4: sort words #8

Open
7 tasks
AlinaTaoRao opened this issue Feb 15, 2022 · 0 comments · Fixed by #21
Open
7 tasks

must have 4: sort words #8

AlinaTaoRao opened this issue Feb 15, 2022 · 0 comments · Fixed by #21
Assignees
Milestone

Comments

@AlinaTaoRao
Copy link
Collaborator

AlinaTaoRao commented Feb 15, 2022

4. sort words with options

a user can sort words with 6 options.
select 'oldest' then will sort words from oldest to newest.
select 'newest' then will sort words from newest to oldest.
select 'shortest' then will sort words from shortest to longest.
select 'longest' then will sort words from longest to shortest.
select 'a' then will sort alphabetical order.
select 'z' then will reverse alphabetical order.

HTML

  • a select element with the name attribute "sort" to create a drop-down list.
  • 6 option tags inside the select element define the available options in the drop-down list.

CSS

  • styling to position the drop-down list correctly on the screen

Listeners

  • a listener connected to the select, I'll try a "click" event first

Handlers

  • one handler that sort the word list and re-render the list in the UI

Utils

  • none.

Components

  • none. I can reuse the component from add a word to render word list.

  • this will be developed on the branch 4-feature-sort.

@AlinaTaoRao AlinaTaoRao added this to the dev milestone Feb 15, 2022
@AlinaTaoRao AlinaTaoRao self-assigned this Feb 15, 2022
@AlinaTaoRao AlinaTaoRao linked a pull request Feb 17, 2022 that will close this issue
56 tasks
@AlinaTaoRao AlinaTaoRao changed the title must have: sort words must have 4: sort words Feb 26, 2022
@AlinaTaoRao AlinaTaoRao linked a pull request Feb 27, 2022 that will close this issue
56 tasks
@AlinaTaoRao AlinaTaoRao mentioned this issue Feb 27, 2022
56 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant