Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 962 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 962 Bytes

JavaScript and DOM Manipulation

  1. Automatic Table and Date Search

Create a basic HTML web page or use the index.html file provided (we recommend building your own custom page!).

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

Make sure you have a column for date/time, city, state, country, shape, and comment at the very least.

Add the following datum as the third entry of the data.js file:

{
datetime: "1/28/1996",
city: "dallas",
state: "tx",
country: "us",
shape: "star",
durationMinutes: "5 mins.",
comments: "Cowboys win a superbowl, that's alien!."
}

Use a date form in your HTML document and write JavaScript code that will listen for events and search through the date/time column to find rows that match user input. Use bootstrap to style the table with striped rows