To do list - Javascript Javascript(only) needs to be added in order to do the following:
Fantastic news! We've Found the answer you've been seeking!
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, 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
}
Related Book For
OM operations management
ISBN: 978-1285451374
5th edition
Authors: David Alan Collier, James R. Evans
Posted Date: