Giter VIP home page Giter VIP logo

to-do-list's Introduction

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

to-do-list's People

Contributors

codeexplainedrepo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.