Giter VIP home page Giter VIP logo

javascript-ufo's Introduction

javascript-challenge

The truth is out there

Background

WAKE UP SHEEPLE! The extra-terrestrial menace has come to Earth and we here at ALIENS-R-REAL have collected all of the eye-witness reports we could to prove it! All we need to do now is put this information online for the world to see and then the matter will finally be put to rest.

There is just one tiny problem though... our collection is too large to search through manually. Even our most dedicated followers are complaining that they are having trouble locating specific reports in this mess.

Thats why we need a code that will create a table dynamically based upon a dataset provided. We also need to allow users to filter the table data for specific values. There's a catch though... we only use pure JavaScript, HTML, and CSS, and D3.js on our web pages. They are the only coding languages which can be trusted.

Level 1: Automatic Table and Date Search

  • Using the UFO dataset provided in the form of an array of JavaScript objects, code appends a table to a web page and then adds new rows of data for each UFO sighting.
  • Uses a date form in HTML document to write JavaScript code that listens for events and search through the date/time column to find rows that match user input.

single level filter



Level 2: Multiple Search Categories

  • Utilizes multiple input tags and a select dropdown to either inclusively or exclusively filter the provided dataset
  • JavaScript code so the user can to set multiple filters and search for UFO sightings using all or some of the criteria

multi level  exclusive filter

Code sample of utilizing website responses if no in found, no input variables or if there is an unexpected error

user friendly example

Sample of console log after each search

sample console log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.