Assignment 8
Keep working on your projects
Please remember your project milestone is due in a few weeks.
There is also a video where I talk through using a dropdown with Carto.js.
Continue working on a map with JavaScript
Continuing with your page and map from the last assignment, or creating a new one, do the following:
(1) Show the clicked feature's data using popups (Glitch example) or a sidebar (Glitch example). Remember that one benefit of using JavaScript is you can embed videos and fully control the styles on your popups, so take advantage of as possible.
(2) Filter the data displayed on the map using SQL. Choose one or a few form inputs:
- checkboxes (
<input type="checkbox" />
) (Glitch example) - text inputs (
<input type="text" />
) (Glitch example) - dropdowns (
<select>
) (Glitch example)
When the user changes the input(s), your page should filter the data on your map. This HTML Dog page gets into specifics of many HTML form elements.
Submitting your work
Submit a link to a Glitch site. Please include a short description of what you did.