ryansims265 / project1

Manage your car's maintenance and overall health with CarMed
https://ryansims265.github.io/project1/
1 stars 3 forks source link

Hook up Javascript to use data from the vehicle information input modal form and make API calls to Youtube and Google Maps #18

Open Froglegg opened 5 years ago

Froglegg commented 5 years ago

As a user, after submitting my information in the input vehicle information modal, I want to see the mileage until my next oilchange on my dashboard. I want the "DIY" button to use the data I entered to find and display youtube videos in a modal window that are specific to the make, model, year and mileage of my vehicle. I want the "Find a Service Provider" to find search for an Oil Change near me and display locations near me in a google maps modal.

Acceptance criteria:

Javascript must pull values from variables stored in local storage. Backend Developers work with Front-end developers to map fields from local storage to javascript API calls. After submitting vehicle data in the input vehicle information modal, the dashboard should display text that says "Your next oil change is in X miles" Then, upon clicking the DIY button, I should see an embedded youtube video (later, a list of youtube videos) that shows videos pulled from youtube using the following query format, where the query variables are equal to the information the user inputted: make + model + year + oil change Upon clicking the Find a Service Provider, I should see a modal window that displays a google map embed with locations for where I can get oil changes based on the location (city, state) the user inputted. If the user clicks "reset vehicle info" and enters new information, then that information should be updated accordingly.

Froglegg commented 5 years ago

As a user, after submitting my information in the input vehicle information modal, I want to see the mileage until my next oilchange on my dashboard. I want the "DIY" button to use the data I entered to find and display youtube videos in a modal window that are specific to the make, model, year and mileage of my vehicle. I want the "Find a Service Provider" to find search for an Oil Change near me and display locations near me in a google maps modal.

Acceptance criteria: