Skip to content
/ UFOs Public

Use JavaScript to create a dynamic webpage for UFO sighting data.

Notifications You must be signed in to change notification settings

RuthLD/UFOs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UFOs

👽 Use JavaScript to create a dynamic webpage for UFO sighting data.

Overview:

This analysis aimed to view information related to UFO sightings based on five search criteria.

  1. Date 📅
  2. City 🏙️
  3. State 🗽
  4. Country 🗺️
  5. Type 🔵

The information is displayed on a webpage that accepts user input for any combination of the search criteria. The UFO data is pulled from the data.js file, well app.js holds the code for the filters, and the index.html holds the webpage code.

Using the Webpage:

The filters to search by are located below the introduction to the webpage. Enter_site.gif

  • Use the "Date" filter, type a date in the mm/dd/yyyy format into the box, and then click outside the box to update the table.
  • input_date.gif
  • Use the "City" filter, type a city's name in lowercase into the box, then click outside the box to update the table.
  • input_city.gif
  • Use the "State" filter, type the two-letter abbreviation of a state in the United States in lowercase into the box, then click outside the box to update the table.
  • input_state.gif
  • Use the "Country" filter, type the two-letter abbreviation of a country using lowercase into the box, and then click outside the box to update the table.
  • input_country.gif
  • To use the "Type" filter, type a shape name like "triangle" or "circle" into the box using lowercase, then click outside the box to update the table.
  • input_shape.gif
  • To use multiple filters, follow the instructions for each of the search criteria in any order, one after the other. You will see the table update with each filter added.
  • multi_input.gif

If the table is empty, there is no data for the information inputted in the search criteria.

Summary:

One drawback of this design is that it did not explicitly state when the search criteria returned no results.

Two things that may be helpful for further development of the webpage are an error message when no results are found from the search and a more flexible date search that would allow for filtering by month or year instead of a specific date.

About

Use JavaScript to create a dynamic webpage for UFO sighting data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published