The purpose of this analysis is to create a webpage using the data.js file of UFO sightings, that allows users to filter for multiple criteria at the same time. Using Javascript and HTML, table filters for the date, city, state, country, and shape have been added.
To perform a search, start by entering a date in MM/DD/YYYY format. All sightings from the data.js file on that date will load.
Or, enter a city. The page will need to be refreshed in order to start a new search, or the old search term must be deleted.
The page is also designed to receive input from more than one field at a time. For example, the date and city have been input. Here is the result:
A drawback is that the cities, states, and countries in the data file have been recorded in lower case. If a person capitalizes the city or state name as it should be, the results won't populate, because it is case sensitive. One recommendation for further development by would be to change the case sensitivity of input in the city field in order to return results, because cities are supposed to be capitalized. The other recommendation would be to change the case sensitivity of the state field for the same reason.