Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

binghuan/javascript_simpleAutoComplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

11 Commits

Repository files navigation

an auto-complete widget on a text with the following requirements:

javascript_simpleAutoComplete

Launch the web app here

Project Overview

This project implements a pure JavaScript auto-complete widget for a text , featuring:

  • No well-known UI libraries used - everything is built from scratch.
  • Dataset of 100~1000 entries - e.g., timezone names from tzdata.
  • Input validation - users can only submit if their input matches an entry in the dataset.
  • Works locally - can be loaded from http://localhost/ or file:/// without any server-side logic.
  • Efficient and memory-conscious - designed for performance and low resource usage.
  • Unit-testable and reusable code.

References


If you are interested in my other works, please visit my blogs:


This project was created as a coding quest from Mozilla.

Demo

Releases

No releases published

Packages

Contributors