/UFOs

Create a webpage of UFO sightings that allows users to filter for multiple criteria at the same time.

Primary LanguageJavaScript

UFOs

Overview of the Analysis

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.

Results

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.
Screen Shot 2021-09-12 at 3 52 42 PM 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. Screen Shot 2021-09-12 at 3 59 29 PM 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: Screen Shot 2021-09-12 at 4 01 00 PM

Summary

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.