← Questions
Autocomplete search bar with a hand-written debounce
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Build an autocomplete search bar: as the user types, show suggestions for the current text, fetched from a suggestion service. Calls must be debounced, so the service is called only after the user pauses typing, and you write the debounce yourself rather than using a library. Discuss responses arriving out of order, empty input, loading and error states, and keyboard and screen-reader access.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Sign in to submit your code; every attempt is kept here.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding
