To Do List with Delete

2,068 Kb

How do I make an to do list with delete?

What is a to do list with delete? How do you make a to do list with delete? This script and codes were developed by Matt Brody on 15 January 2023, Sunday.

To Do List with Delete Previews

To Do List with Delete - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>To Do List with Delete</title> <link rel="stylesheet" href="css/style.css">
<body> <html>
<head> <title>To Do List With Delete</title> <link rel="stylesheet" href="" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<body> <div class="container"> <div class="row"> <div class="col-sm-6 col-sm-offset-3"> <h1>To Do List With Delete onclick</h1> <form id="todoForm"> <div class="form-group"> <input id="todoInput" class="form-control"> </div> <div class="form-group"> <button type="button" onclick="todoList()" class="btn btn-primary btn-lg">click me</button> </div> </form> <ol id="todoList"> </ol> </div> </div> </div> <script src="js/main.js"></script>
</html> <script src="js/index.js"></script>

To Do List with Delete - Script Codes CSS Codes

body { text-align: center;
h1 { margin-bottom: 50px;
input { margin-bottom: 40px;
li { text-align: left; font-size: 20px;

To Do List with Delete - Script Codes JS Codes

function todoList() { var item = document.getElementById("todoInput").value var text = document.createTextNode(item) var newItem = document.createElement("LI") newItem.className = "todoClass" newItem.setAttribute("onclick", "remove()") newItem.appendChild(text) document.getElementById("todoList").appendChild(newItem)
function remove() { this.parentNode.removeChild(this)
To Do List with Delete - Script Codes
To Do List with Delete - Script Codes
Home Page Home
Developer Matt Brody
Username mattlbrody
Uploaded January 15, 2023
Rating 3
Size 2,068 Kb
Views 6,072
Do you need developer help for To Do List with Delete?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Matt Brody (mattlbrody) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!