Check out my work at this link:
Unfortunately, my code is too lengthy to include here, so please refer to the link above to see the issue I am facing.
The problem I am encountering is that when I click the checkbox after adding an item to the list, the red line does not cover the item and appears to be behind it instead.
For example, if you type in "Dog" and then click the checkbox, the red line will appear between the icons instead of over the word "Dog".
Thank you in advance for any assistance you can provide.