I made this app in order to learn DOM Manipulation in plain vanilla.js. I made this app from scratch to strengthen my DOM Manipulation Skills. This App brings together a selection of the DOM techniques to update the contents of the List. It has three main aims:
Adding an item to the start of the list requires the use of a different method than adding an element to the end of list.
This involves looping through each of the elements i.e my Shopping List Items and updating the value of the class attribute to 'cool'.
This involves four Steps
- Reading the content of the heading.
- Counting the number of elements in the page.
- Adding the number of items to the content of the heading.
- Updating the heading with this new Content.
Jigyasu Arya ~ lastnamearya