Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Delete Functionality for ToDoItems and CSS #8

Open
kevnlliu opened this issue May 23, 2024 · 0 comments
Open

Add Delete Functionality for ToDoItems and CSS #8

kevnlliu opened this issue May 23, 2024 · 0 comments
Assignees

Comments

@kevnlliu
Copy link
Contributor

kevnlliu commented May 23, 2024

Remember, create a new branch before coding!

Main task: Fill out the deleteToDoItem function in ToDoList.jsx so that there are delete buttons next to each to ToDoItem that allow you to delete said corresponding ToDoItem. Note: you will not be able to call toDoItems.pop(index) directly, you will still have to call setToDoItems on a new array with the corresponding item no longer there (i'm sure there are also answers for this online if you look on stack overflow).

Secondary task (optional): Add CSS to the project using .module.css files, importing those files as "import styles from <path to css file" and setting tags that you want to stylize to className = styles[]. There is an example provided in ToDoList.jsx.

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

No branches or pull requests

4 participants