Skip to content

Conversation

@bsarazin1
Copy link
Collaborator

No description provided.

@knizzle knizzle self-requested a review May 18, 2022 22:53
@knizzle knizzle self-assigned this May 18, 2022
Copy link
Collaborator

@knizzle knizzle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're suuupper close, @bsarazin1

only trouble is with:

deleteItem() { var elem = document.getElementById("del"); elem.parentNode.remove(elem); },

it's deleting the first item no matter which item I want to delete (getElementById will find the first one). You might consider grabbing each item that you want to delete by its index instead (you can use indexOf and splice)

@knizzle knizzle removed their assignment May 20, 2022
@IronWill12 IronWill12 self-assigned this Jun 3, 2022
@IronWill12 IronWill12 self-requested a review June 7, 2022 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants