Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

 

  1. Add a new todo item to the list, complete with trash icon
  2. Remove the item when the trash icon is clicked
  3. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OM operations management

Authors: David Alan Collier, James R. Evans

5th edition

1285451376, 978-1285451374

More Books

Students also viewed these Programming questions

Question

What are the current computer software platforms and trends?

Answered: 1 week ago