Lab Diecinueve | Type Ahead | Jorge Carty
Visual Representation of Lab 19 |
Lab 19 is a simple lab that has a search bar in which you can type the name of a state, and it will highlight the letters matching with the name typed and will show the population of that city or state in particular.
To complete this lab I needed to create a search bar by using the input and form tags, the rest was pure JavaScript. Functions and Consts were used to identify the letters typed in the search bar and to remove the options that don't match with the letters typed into the bar.
This is very important for a web designer or someone who has to analyze data because it can be combined with the previous labs. Sort information or make it easier by typing a keyword.
JavaScript required for this lab |
Comments
Post a Comment