To do List
How do I make an to do list?
BLOC.io jquery assignment. What is a to do list? How do you make a to do list? This script and codes were developed by Jeya Karthika on 28 November 2022, Monday.
To do List - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>To do List</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body> <div class="container"> <header>My To-Dos</header> <form> <input type="text" placeholder="Type in a new todo and hit enter" /> </form> <ul></ul> </div>
</body> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
To do List - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
body { background:#eee; font-family:'Open Sans', sans-serif; padding:0; margin:0;
}
.container { margin:0 auto;
}
header { padding:1em; text-align:center; text-transform:uppercase; font-weight:bold; color:#666; text-shadow: 0px 1px 0px #fff; background: #eeeeee; /* Old browsers */ background: -moz-linear-gradient(top, #eeeeee 0%, #C9C9C9 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#C9C9C9)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #eeeeee 0%,#C9C9C9 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #eeeeee 0%,#C9C9C9 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #eeeeee 0%,#C9C9C9 100%); /* IE10+ */ background: linear-gradient(to bottom, #eeeeee 0%,#C9C9C9 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#C9C9C9',GradientType=0 ); /* IE6-9 */ border-bottom:1px solid #333;
}
input[type="text"] { width:100%; font-weight:normal; font-size:1em; padding:1em; margin:0; border:none; -webkit-appearance:none; color:#fff; background: #424242; /* Old browsers */ background: -moz-linear-gradient(top, #424242 0%, #636363 99%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#424242), color-stop(99%,#636363)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #424242 0%,#636363 99%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #424242 0%,#636363 99%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #424242 0%,#636363 99%); /* IE10+ */ background: linear-gradient(to bottom, #424242 0%,#636363 99%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#424242', endColorstr='#636363',GradientType=0 ); /* IE6-9 */
}
input:focus { outline-width: 0;
}
/* Placeholder Text */
::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder { color:#eaeaea;
}
ul { margin:0; padding:0;
}
li { list-style-type:none; margin:0; color:#fff; padding:1em; background: #7abcff; /* Old browsers */ background: -webkit-gradient(linear, 0 0, 0 100%, from(#7abcff), color-stop(0.44, #60abf8), to(#4096ee)); background: -webkit-linear-gradient(#7abcff 0%, #60abf8 44%, #4096ee 100%); background: -moz-linear-gradient(#7abcff 0%, #60abf8 44%, #4096ee 100%); background: -o-linear-gradient(#7abcff 0%, #60abf8 44%, #4096ee 100%); background: linear-gradient(#7abcff 0%, #60abf8 44%, #4096ee 100%); /* FF3.6+ */ /* Chrome,Safari4+ */ /* Chrome10+,Safari5.1+ */ /* Opera 11.10+ */ /* IE10+ */ /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7abcff', endColorstr='#4096ee',GradientType=0 ); /* IE6-9 */ border-bottom:1px solid #1C84ED;
}
a { margin-left: 20px; color: #FFF; text-decoration: none; font-weight: 900; float:right;
}
To do List - Script Codes JS Codes
$('form').submit(function () { if ($('input').val()) { var input_value = $('input').val(); $('ul').append('<li>' + input_value + '<a href="">x</a></li>'); }; $('input').val(''); return false;
});
$(document).on('click', 'a', function (e) { e.preventDefault(); $(this).parent().slideUp(250, function(){ $(this).remove() });
});
Developer | Jeya Karthika |
Username | jeyakarthika |
Uploaded | November 28, 2022 |
Rating | 3 |
Size | 2,692 Kb |
Views | 14,168 |
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!
Name | Size |
Highlighting Selected Text | 1,673 Kb |
CSS3 Columns | 2,669 Kb |
CSS Loader | 2,323 Kb |
Pure CSS3 menu | 1,675 Kb |
Stitched Button | 1,593 Kb |
Drop-Cap | 2,437 Kb |
Html-basics-bloc | 1,541 Kb |
Rails Girls Bootstrap Demo | 1,168 Kb |
Subscription Form | 2,069 Kb |
Gradient Text | 1,613 Kb |
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!
Name | Username | Size |
Fluid Responsive Typography | Jonmilner | 4,205 Kb |
Donald Trump - The New Yorker | Agbales | 2,502 Kb |
Intake Form Page 2 | Ijantje | 4,983 Kb |
Table Exercise | Fresco | 9,585 Kb |
A Pen by lizz | Lizz | 10,068 Kb |
CSS Grid Test | Ajaykarwal | 2,377 Kb |
Tail rose iris lined | Kbrtrm | 1,846 Kb |
Christ the Redeemer | Prashantsani | 2,208 Kb |
Polo, the flying squirrel | Agbales | 2,445 Kb |
Twinkling Stars | Ripley6811 | 2,750 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!