Basic Todo List App using jQuery, Bootstrap and localStorage

File Size: 4.02 KB
Views Total: 9654
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Basic Todo List App using jQuery, Bootstrap and localStorage

A very simple todo list web app built with jQuery and Bootstrap 3 that has the ability to persist the tasks with Html5 local storage.

How to use it:

1. Include jQuery library and Bootstrap 3 framework in your html page.

<link rel="stylesheet" href="bootstrap.min.css">
<script src="//"></script>
<script src="bootstrap.min.js"></script>

2. Create an empty list to place your tasks.

<ul class="list-group ">

3. Create a form to accept new tasks.

<div class="form-group">
  <input id="main-input" type="text" class="form-control" placeholder="Write up something">

<button type="button" class="btn btn-success" id="main-button">Add A Task</button>

4. Create a task edit popup window using Bootstrap modal component.

<div class="modal fade" id="editModal" role="dialog">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">Edit</h4>

      <div class="modal-body">
        <input type="text" class="form-control" id="edit-input">

      <div class="modal-footer">
        <button type="button" class="btn btn-primary" id="edit-button" data-dismiss="modal">Save changes</button>

5. Load the main JavaScript at the end of the html page.

<script src="js/main.js"></script>

This awesome jQuery plugin is developed by CeleryCup. For more Advanced Usages, please check the demo page or visit the official website.