https://github.com/binghuan/javascript_simpleautocomplete
Coding quest from Mozilla
https://github.com/binghuan/javascript_simpleautocomplete
assignment javascript mozilla take-home-test webapp
Last synced: 2 months ago
JSON representation
Coding quest from Mozilla
- Host: GitHub
- URL: https://github.com/binghuan/javascript_simpleautocomplete
- Owner: binghuan
- Created: 2014-02-17T03:22:07.000Z (over 11 years ago)
- Default Branch: gh-pages
- Last Pushed: 2025-07-18T16:14:53.000Z (3 months ago)
- Last Synced: 2025-07-18T20:44:28.389Z (3 months ago)
- Topics: assignment, javascript, mozilla, take-home-test, webapp
- Language: JavaScript
- Homepage: http://binghuan.github.io/javascript_simpleAutoComplete/autoComplete.html
- Size: 884 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
an auto-complete widget on a text <input> with the following requirements:
# javascript_simpleAutoComplete
[Launch the web app here](http://binghuan.github.io/javascript_simpleAutoComplete/autoComplete.html)
## 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
- [tzdata on Wikipedia](https://en.wikipedia.org/wiki/Tzdata)
- [Mozilla Gaia tz.json example](https://github.com/mozilla-b2g/gaia/blob/master/shared/resources/tz.json)---
If you are interested in my other works, please visit my blogs:
- http://studiobinghuan.blogspot.tw/
- http://bhtalk.blogspot.com
This project was created as a coding quest from Mozilla.# Demo
