This project is designed to give you an opportunity to demonstrate your approach to building software. Please don't spend more than a couple of hours on it.
npm install
npm start
(runswebpack-dev-server
)- Visit
http://localhost:8080
This repo contains a partial implementation of autocompleting search, built upon autocomplete.js from Algolia. The code uses an array of state names, but does not properly filter the results based on user input. Your goals are:
- Fix the code to filter results when the user types.
- Uncomment the second search input in index.html, and configure autocomplete.js to connect it to the search api at
https://api.github.com/search/users?q=...
. Render the login and id returned from this api the same way that you rendered state name and abbreviation in #1. - For extra credit, try to make the autocomplete entries look nicer. For inspiration, you can look at the autocomplete results on Fresh Chalk when you search for business names.
- Both inputs should work at the same time. Don't break #1 when working on #2.
- The code should work properly in the latest version of Chrome. Don't worry about other browsers.
- If you want to pull in small utility libraries like Lodash, be sure to add them to the package file. Please don't incorporate any large frameworks.
Please submit your solution as a zip file. If you are using gmail, here's the easiest way:
- Generate a zip file:
git archive HEAD --format=zip -o solution.zip
- Upload to google drive.
- Send as a drive link.