- Store the flicks/dinosaurs in an array, as well as in the DOM.
- Add a promote/fav button, just like you did yesterday!
- Add a delete button, just like yesterday!
- Add buttons to move a flick/dinosaur up and down the list.
- Persist the flicks/dinosaurs data using
window.localStorage. The flicks/dinosaurs should stay in the list even when the page is refreshed.
- Fix the issue with flick id values, which sometimes results in removing the wrong flick from the array (and thus from localStorage).
- Also track the year the flick was released.
- Edit the names of flicks that are already in the list (and make sure the changes persist across page loads). Gee, it would nice if we could make that span's content editable somehow.
- Have a good weekend.
Categorize stuff! Separate flicks into genres, or separate movies from TV shows! Make a whole new thing with categories, like messages separated into channels! Use your tremendous creativity! Exclamation point!
Or heck, just make separate lists based on the second input field you added in the weekend homework!
Add a search field, and only show the results that match the search criteria. Here are some things you may wish to use while implementing search:
Array.prototype.find()(very similar tofindIndex())HTMLElement.dataset(remember those IDs we stored?)display: none(Heck, you could add a class that includes this rule, and add and move that class from elements you wish to hide.)