Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bishopce16/ufos
The purpose of this project was to build a dynamic webpage and to take data from a JavaScript array to create an organized a table to filter UFO sighting data on multiple criteria.
https://github.com/bishopce16/ufos
bootstrap css html javascript visual-studio-code
Last synced: about 2 months ago
JSON representation
The purpose of this project was to build a dynamic webpage and to take data from a JavaScript array to create an organized a table to filter UFO sighting data on multiple criteria.
- Host: GitHub
- URL: https://github.com/bishopce16/ufos
- Owner: bishopce16
- Created: 2022-08-18T21:28:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-26T18:18:15.000Z (over 2 years ago)
- Last Synced: 2023-03-04T01:23:49.723Z (almost 2 years ago)
- Topics: bootstrap, css, html, javascript, visual-studio-code
- Language: JavaScript
- Homepage:
- Size: 3.76 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UFOs
[Link to Webpage](https://bishopce16.github.io/UFOs/)
## Overview of Project
The purpose of this project was to build a dynamic webpage and to take data from a JavaScript array to create an organized a table to filter UFO sighting data on multiple criteria. The table was built with JavaScript functions to loop through the data and create a customized dashboard. Html, CSS, and Bootstrap was used to modify the aesthetics of the webpage.---
## Resource:
Data Sources: data.js
Tool used: Visual Studio Code, HTML, JavaScript, Bootstrap, CSS
---
## Results:
Welcome/First encounter of the webpage:
The Truth Is Out There webpage presents visitors with a dark background and light font with an image displayed using the style.css file.![the truth is out there webpage](static/images/truth_is_out_there_webpage.png)
---
Filter Search:
Below is the default table that is displayed when the webpage opens.![ filter search table default](static/images/filter_search_table_default.png)
The UFO sightings data was filtered on multiple criteria, including city, state, country, and shape.
This was accomplished by using JavaScript functions to loop through the data. The filters include event listeners that record information when an element is changed to develop an interactive webpage based on user’s input.![ filter search table date 1/2/2010](static/images/filter_search_table_date1:2:2010.png)
The search criteria displaying results for date "1/2/2010" above and city "benton" below.![ filter search table city benton](static/images/filter_search_table_city_benton.png)
---## Summary:
An if statement was added to the app.js file on line 70 to display “No results found” for a search that does not exist, instead of a default filled table.
![“No results found” display](static/images/filter_search_table_noresultsfound.png)
![if statement code](static/images/if_statement_code.png)
---
Addresses one drawback of this webpage:
* The search field is case sensitive and requires lower case and correct spelling.
* The data is also limited as it is not liked to a live source.---
Recommendations for further development:
* Adding a scraping functionality to pull data from a live source that includes archived and current data.
* Add further customizations for example a dropdown list, auto fill, or click button to make the webpage more user friendly and to remove the case sensitivity.---