Minimal To-Do List using HTML CSS  and  jQuery

Hello readers, Today in this blog you'll learn how to create a Minimal To-Do List using HTML CSS and Javascript. Previously I have shared a Custom Modal Box using HTML CSS & Javascript, now it's time to create a To-Do List HTML CSS & jQuery.

Todo is a task management app or program to help you to stay organized and managed your day-to-day. You can add things that you have to do in the whole day, after completing those works you can simply remove that item from the list.

As you can see in the image, this one is a minimal To-Do List Design and it is based on jQuery. There are 3 fields in the program. One field for show list, one is input for insert items, and a plus button to add. When you will type somethings and press the add button, then the item will add on the list and visible.

And removing any items from the list, you have to hover on that item and there will a trash icon reveal you have to click that to remove. The whole layout has a minimal design.

If you're feeling difficulty to understand what I am saying. You can watch a full video tutorial on this program (Minimal To-Do List).

Video Tutorial of Minimal To-DO List Program using jQuery



If you are beginners, you can easily use this To-Do List in your project after changes some codes. If you have basic knowledge of HTML CSS & jQuery you can easily do that.

If you like this program (Minimal ToDo List) and want to get source codes. You can easily get the source codes of this program. To get the source codes you just need to scroll down. And, I believe this To-Do list program helps you a lot.

Minimal To-Do List using HTML CSS & jQuery [Source Codes]

As always, before sharing the codes of this program (Minimal ToDo List). Let's a few talk about the main tags and codes of this program. As you have seen in the video, I used jQuery for functioning in the program. At first, I created a <div> tag with the class name "center" and placed all other tags inside it. After that, I created a <button> tag for show and hide input box.

Similarly, I created a <input> tag for inserting items. I used font-awesome to show icons like trash and drop. Inside a div tag, I created <ul> and <li> tag for creating list items.

In CSS File, I have placed all the items at the center, as you can see in the video. With CSS first I gave basic values like size, position, margin, etc to the elements. Then, I gave value like color, font-size, background-color, etc. to make a button, input field, list items more stylish and attractive. I have used google font for texts.

jQuery adding and removing the items according to the user’s actions. First, jQuery fetched elements and stored in variables, then I used Javascript or jQuery click event listener for adding and removing the items on click. There are fewer lines of jQuery codes because it is a minimal program.

To create this program (Minimal To-Do List). First, you need to create two Files one HTML File and another one is CSS File. After creating these files just paste these following codes in your file.

HTML FILE:



CSS FILE:



Thanks for visiting, Keep visiting.


16 Comments

We welcome relevant and respectful comments. Off-topic or spam comments may be removed.

  1. Helpful blog and thanks for providing code.

    ReplyDelete
  2. Helpful blog and thanks for providing code.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. An Excellent Effort, Really so much helpful for me.
    One thing or say as one error, I want to tell you that when we refresh the page the lists we've deleted before, these will come again.
    Please apply some changes. So, when we refresh our page, make sure those lists we've deleted before, they would've not to come again.
    I think you've to make some changes in jquery code. So, the article will became best than before and then we can add in our websites.

    Hope, you'll alert me soon about the update!
    Have a nice day Bro :-)

    ReplyDelete
    Replies
    1. For that we need to set cookies on the user browser. I'll make video as soon as possible.

      Delete
  5. how to make a copy button which copies all the text in the box like you used.

    ReplyDelete
  6. SyntaxError: Invalid or unexpected token
    at /:31:24

    :(

    ReplyDelete
  7. this html file is not correct plz check and update it

    ReplyDelete
  8. I got, JavaScript Console
    Uncaught SyntaxError: Invalid or unexpected token
    Line: 3

    ReplyDelete

Post a Comment

We welcome relevant and respectful comments. Off-topic or spam comments may be removed.

Previous Post Next Post
CodingNepal
Subscribe our YouTube Channel