Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 999 Bytes

tdd-1-guided.md

File metadata and controls

13 lines (7 loc) · 999 Bytes

Autocomplete

In this task, you'll design and implement a simple autocomplete feature.

[Autocomplete starter code] (code here)

Whenever the user begins typing a new word, your autocomplete will recommend possible completions. Your autocomplete will generate completions based on the words that the user has already entered in the text area, ranking valid possible completions from most to least likely based on the frequency of the word in existing text. If there are no possible completions based on these words, your system should generate an empty list of completions.

To design and implement your autocomplete feature, you'll use this design strategy strategy:

Open the design strategy in a new tab

Follow the strategy using the strategy execution tool to design and implement the autocomplete feature. Your goal is to build a working implementation and to craft a clear and easy to maintain design. You have up to 15 minutes. Notify the experimenter when you're done.