Thursday, January 16, 2020

Lab 19 Reflection


This lab consists of creating a search bar that allows you to find the population of any city or state in the United States. In the screenshot below, you can see I typed in New York and got a bunch of suggestions as well as population numbers. To make this search bar operate, I used some HTML, heaps of JavaScript and a few CSS. the sole issue in my HTML document itself was a kind that I gave it a category named "search-form". I conjointly further AN input with it in order that users might sort in it as a result of it wouldn't be a quest bar if they couldn't search for something. at intervals my CSS, I got wind of the format for what the results would seem like when a user has typewritten one thing. Lastly, the JavaScript had been connected to knowledge on the population of each town and state within us, thus all of the information given on this page relies thereon on data. it should not be 100 percent correct however it's an honest estimate. The JavaScript conjointly functions the search bar mechanic so after you sort one thing in it, there's an operation that displays the matches supported what you typewritten.

No comments:

Post a Comment

G4C #3 Report

G4C #3 GET THE PARTY STARTED Brian Sherpa The Issue: A significant percentage of Americans are currently dissatisfied with both political...