Question
To do list - Javascript Javascript(only) needs to be added in order to do the following: Add a new todo item to the list,
To do list - Javascript
Javascript(only) needs to be added in order to do the following:
- Add a new todo item to the list, complete with trash icon
- Remove the item when the trash icon is clicked
- Clear the input when the user clicks back into it to add another item.
Forgot to mention that I can't change the HTML or CSS, it was provided by the professor.
This is already in place in the JS window: (codepen)https://codepen.io/ChamplainJS/pen/YdOQOP
(function(){
})();
HTML:
Today's To Do List
- Pick up groceries
- Finish essay
- Soccer @ 5:00
CSS:
body
{
background-color: #34495e;
font-family: 'Lato', sans-serif;
}
button {
margin: 0 auto;
float: right;
}
.centered {
margin: 0 auto;
width: 80%
}
.card {
margin: 50px auto;
width: 18rem;
}
i{
float:right;
padding-top:5px
}
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
OM operations management
Authors: David Alan Collier, James R. Evans
5th edition
1285451376, 978-1285451374
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App