/To-Do-List

Create To Do List In JavaScript

Primary LanguageCSS

To-Do-List Using JavaScript

In this tutorial, a JavaScript beginner can be able to create a beautiful and functional to do list using JavaScript. I will talk about the logic behind every line of code, before opening my text editor and start typing the code. it's a step by step tutorial, you won't get lost at any stage of this tutorial.

to follow the tutorial step by step, when we get to the second part (when we type the code), you'll need to download the starter template from here.

The tutorial video link : https://youtu.be/b8sUhU_eq3g

When you open the folder, you'll find all the files needed to get started, the CSS code, is already typed (see style.css file), as we're not going to talk about CSS in our tutorial. we're going just to talk about HTML and JavaScript.

the to-do list we're going to create has a beautiful UI, the user can add a to-do by filling the input and hit ENTER, after that he can rather check the to-do when it's done, or remove it using the delete button.

The user's to-do list is stored in the local storage, so when he refreshes the page, he can always find the list there.

There is the possibility for the user, to clear the list, by clicking the button clear, at the top right corner of our app.

The to do list app, shows the today's date to the user, for that we're using a method called toLocaleDateString, which you can read about here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString

///// Here you can find some other tutorial, that you might like to see /////

Ping Pong Game Using JavaScript https://youtu.be/nl0KXCa5pJk

Create a Multiple Choice Quiz Using JavaScript https://youtu.be/49pYIMygIcU

Tetris Game Using JavaScript https://youtu.be/HEsAr2Yt2do

Snake Game Using JavaScript https://youtu.be/9TcU2C1AACw

Flappy Bird Game Using JavaScript https://youtu.be/L07i4g-zhDA