Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 1016 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 1016 Bytes

Home++

This is my homepage!
You can play with a demo of it here

If you would like a copy already preloaded with some sites, download home++.html. For a blank version, download home++b.html.

Here's a pretty basic rundown of how it works (so you don't have to read my probably horribly formatted code)

  1. It goes through each item in each key in the places object and adds the first item in the array (the name of the link) to the input field's datalist

  2. When you submit text it checks the first character against each key in the places object. Once it finds the correct key it checks the input against each name in the array. This way the program doesn't have to go through every single item every time.

  3. Once it finds the matching name, it redirects you to the url that corresponds to that name