I challenged myself. I think getting DOM elements and interacting with them is more what a beginner like me would like to learn. I’ve made this shopping list “app” that gets HTML elements, creates new elements, interacts with the created elements, etc. I have added plenty of comments to explain exactly what every line does.
Maybe someone can help me fix it these 2 issues:
1- the “animated bounce” class is added to the new list items, but it triggers only after adding yet another item, so it targets the wrong element so to speak.
2- I can’t seem able to add a function that prevents the user from submitting an empty element.