Skip to content

Using a dataset in the form of an array of JavaScript objects, write code that appends a table to a web page and then adds new rows of data for each data entry.

Notifications You must be signed in to change notification settings

gpivaro/javascript-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript and DOM Manipulation

Rice University Data Analytics and Visualization Boot Camp 2020

This repository contains code that will create a table dynamically based upon a dataset provide. The code allows the users to filter the table data for specific values. We only use pure JavaScript, HTML, and CSS, and D3.js on our web pages.

Level 1: Automatic Table and Date Search | UFO-level-1

  • Create a HTML web page.

  • Using the UFO dataset provided in the form of an array of JavaScript objects, write code that appends a table to the web page and then adds new rows of data for each UFO sighting. The table has the following columns: date/time, city, state, country, shape, and comment.


index_level_1_nofilter.png

  • Use a date form in the HTML document and use JavaScript code that will listen for events and search through the date/time column to find rows that match user input

index_level_1_filtered.png

Level 2: Multiple Search Categories | UFO-level-2

  • Based on the HTML page of the level 1 above, build a new HTML web page that allows multiple search criteria.

  • Using multiple input tags, use JavaScript code so the user can to set multiple filters and search for UFO sightings using the following criteria based on the table columns:

    1. date/time
    2. city
    3. state
    4. country
    5. shape

The user is able to filter using a single or multiple fiels, as can be seen below.

index_level_2_filter_2.png

Here, the result is based on a multiple fiels search:

index_level_2_filter_1.png


About

Using a dataset in the form of an array of JavaScript objects, write code that appends a table to a web page and then adds new rows of data for each data entry.

Topics

Resources

Stars

Watchers

Forks